<commit_before># Anavel CRUD [![Build Status](https://travis-ci.org/anavel/crud.svg)](https://travis-ci.org/anavel/crud) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/anavel/crud/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/anavel/crud/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/anavel/crud/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/anavel/crud/?branch=master)
Anavel CRUD automates the Create, Read, Update and Delete tasks over your Laravel application Eloquent models on a very fast and simple way.

> **Note:** This package is in active development and NOT ready for production.

### Features

* CRUD operations over Eloquent models.
* Search, pagination and sorting.

### Requirements.

* PHP 5.4 or higher.
* Laravel 5.
* [Anavel foundation](https://github.com/anavel/foundation).

## Instalation

To use this package you must first install [Anavel foundation](https://github.com/anavel/fundation). This package was conceived as an Anavel module.

With Anavel installed and working, require this package with composer:

```
composer require anavel/crud
```

After updating composer, add the ModuleProvider to the modules array in anavel config:

```
Anavel\Crud\CrudModuleProvider::class
```

Copy the package config to your local config with the publish command:

```
php artisan vendor:publish
```

## Configuration

To start CRUDing your models just add them to the config file as follows:

```
...
'models' => [
    'Users'      => App\User::class,
    'Blog Posts' => App\Post::class<commit_msg>fixed foundation link on readme @AgosReigosa is watching me :eyes:<commit_after># Anavel CRUD [![Build Status](https://travis-ci.org/anavel/crud.svg)](https://travis-ci.org/anavel/crud) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/anavel/crud/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/anavel/crud/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/anavel/crud/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/anavel/crud/?branch=master)
Anavel CRUD automates the Create, Read, Update and Delete tasks over your Laravel application Eloquent models on a very fast and simple way.

> **Note:** This package is in active development and NOT ready for production.

### Features

* CRUD operations over Eloquent models.
* Search, pagination and sorting.

### Requirements.

* PHP 5.4 or higher.
* Laravel 5.
* [Anavel foundation](https://github.com/anavel/foundation).

## Instalation

To use this package you must first install [Anavel foundation](https://github.com/anavel/foundation). This package was conceived as an Anavel module.

With Anavel installed and working, require this package with composer:

```
composer require anavel/crud
```

After updating composer, add the ModuleProvider to the modules array in anavel config:

```
Anavel\Crud\CrudModuleProvider::class
```

Copy the package config to your local config with the publish command:

```
php artisan vendor:publish
```

## Configuration

To start CRUDing your models just add them to the config file as follows:

```
...
'models' => [
    'Users'      => App\User::class,
    'Blog Posts' => App\Post::class
{'fraction_non_alphanumeric': 0.12944479101684342, 'fraction_numerical': 0.0018714909544603868, 'mean_word_length': 4.726785714285715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5944459', 'n_tokens_mistral': 1035, 'n_tokens_neox': 996, 'n_words': 300}