infinety-es / crud
Quickly build an admin interface for your Eloquent models, using Laravel 5. Build a CMS in a matter of minutes.
Installs: 359
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 17
Open Issues: 0
Language:HTML
Requires
- php: >=7.1.0
- dimsav/laravel-translatable: 9.*
- illuminate/support: 5.*
- infinety-es/filemanager: 2.*
- jenssegers/date: ^3.2
- jorgejavierleon/laravelpnotify: ~1.0
- laravelcollective/html: 5.7.*
- spatie/laravel-medialibrary: 7.*
- yajra/laravel-datatables-oracle: 8.*
Requires (Dev)
- phpunit/phpunit: ~6.0
- dev-master
- 5.7.2
- 5.7.1
- 5.7
- 5.6.6
- 5.6.3
- 5.6.2
- 5.6.1
- 5.6
- 5.5.x-dev
- 5.5.1
- 5.5.0
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0
- 4.0.3
- 4.0.2
- 4.0.1
- 3.2.4.4
- 3.2.4.3
- 3.2.4.2
- 3.2.4.1
- 3.2.4
- 3.2.3.9
- 3.2.3.8
- 3.2.3.7
- 3.2.3.6
- 3.2.3.5
- 3.2.3.4
- 3.2.3.3
- 3.2.3.2
- 3.2.3.1
- 3.2.3
- 3.2.2.1
- 3.2.2
- 3.2.1.5
- 3.2.1.4
- 3.2.1.3
- 3.2.1.2
- 3.2.1.1
- 3.2.1
- 3.2
- 3.1
- 3.0.1
- 2.0.8.8
- 2.0.8.7
- 2.0.8.6
- 2.0.8.5
- 2.0.8.4
- 2.0.8.3
- 2.0.8.2
- 2.0.8.1
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 1.9.9.89
- 1.9.9.88
- 1.9.9.87
- 1.9.9.85
- 1.9.9.9
- 1.9.9
- 1.1.9.75
- 1.1.9.8
- 1.1.9.7
- 1.1.9.5
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.5
- 1.1
- 1.0
- 0.8.13
- 0.8.12
- 0.8.11
- 0.8.10
- 0.8.9
- 0.8.8
- 0.8.7
- 0.8.6
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.9
- 0.7.8
- 0.7.7
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.10
- 0.5.9
- 0.5.1
- 0.5.0
- 0.4.1
- dev-analysis-zOMRea
- dev-analysis-qrdQp3
- dev-dev-starter
This package is auto-updated.
Last update: 2024-10-29 04:36:31 UTC
README
Quickly build an admin interface for your Eloquent models, using Laravel 5. Erect a complete CMS at 10 minutes/model, max.
Install
Via Composer
$ composer require infinety-es/crud/
Add this under service providers array on config/app.php
'Jenssegers\Date\DateServiceProvider',
Add this to your config/app.php, under "aliases":
'CRUD' => 'Infinety\CRUD\CrudServiceProvider', 'Date' => Jenssegers\Date\Date::class,
Usage
In short:
-
Create a controller that extends CrudController.
-
Make your model use the CrudTrait.
-
Create a new resource route.
-
(optional) Define your validation rules in a Request files.
Data Types
Images:
On column array add this to tell the crud is an image:
'type' => 'image'
Date
On column array add this to tell the crud is an date:
'type' => 'date', 'language' => 'es', //Language set 'format' => 'd-m-Y' //Custom date format
You can format a Date object like the DateTime object (http://www.php.net/manual/en/function.date.php):
ToDO
Add documentation
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email hello@ericlagarda.com instead of using the issue tracker.
Credits
- [Infinety][http://www.infinety.es]
- All Contributors
License
The MIT License (MIT). Please see License File for more information.