Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.81 KB

README.md

File metadata and controls

59 lines (38 loc) · 1.81 KB

Anavel CRUD Build Status Scrutinizer Code Quality Code Coverage

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.

Instalation

To use this package you must first install 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
...

And that's all! TA-DÁ! You will find a full-featured CRUD on you admin panel.

Documentation

Visit the wiki for more detailed information on how to customize your configuration based CRUD.

License

This software is published under the MIT License