Download the PHP package efrontsa/easy_crud without Composer
On this page you can find all versions of the php package efrontsa/easy_crud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download efrontsa/easy_crud
More information about efrontsa/easy_crud
Files in efrontsa/easy_crud
Download efrontsa/easy_crud
More information about efrontsa/easy_crud
Files in efrontsa/easy_crud
Vendor efrontsa
Package easy_crud
Short Description Allow you to create a simple CRUD controller
License MIT
Package easy_crud
Short Description Allow you to create a simple CRUD controller
License MIT
Please rate this library. Is it a good library?
Informations about the package easy_crud
Easy CRUD
Allow you to create a simple CRUD controller
Installation
`
After install this package you have to set the service provider on your config/app.php file
`
Then you just need to publish files ! Copy and paste it
`
That's it!
How to use
Create Controller
- you have to use BasicCRUDTrait trait in your controller and define some variables in your constructor
- Inject you model into your constructor like
City
- change
$this->view
to where your views are located. the trait look for (index, create, edit) views.
Ex. : `
Create Form Request
Your form request should implement this interface \EFrontSA\EasyCRUD\Requests\CRUDRequest
`
Create Views
create your views (index, create, edit).
edit
view will receive$object
variable as the result of model query.index
view will receive$objects
variable as the result of model query.
All versions of easy_crud with dependencies
PHP Build Version
Package Version
No informations.
The package efrontsa/easy_crud contains the following files
Loading the files please wait ....