mahmoudkon / crud
this package to create full crud in laravel
Requires
- php: ^8.0
- laravel/framework: ^9.0
- yajra/laravel-datatables: ^9.0
This package is auto-updated.
Last update: 2025-01-05 16:55:55 UTC
README
- This CRUD package requires Yajra datatable ^v9.
Installation:
1- You can install this package via composer using:
composer require mahmoudkon/crud
2- Make publish for stubs files:
php artisan vendor:publish --tag=crud-stubs
Features:
1- Create model with his relations
2- Create request validation
3- Create Datatable class with button for create new record
4- Create Controller with all CRUD methods
5- Append routes in route file
6- Add translation file for datatable
7- Each field added has a translation in the translation files
8- Create index | create | edit | show pages
Customization:
Make publish for config file:
php artisan vendor:publish --tag=crud-config
1- layout
: Select a layout file name.
2- route-file
: Specifies the name of the paths file in which to place the new path.
3- languages
: To set languages for columns translation.
4- translation-file-name
: Specifies the name of the translation file.