demo.mp4
Laravel starter app and CRUD generator.
Installation
composer require evdigiina/generator --dev
For this package, there are two variations: Simpe Version and Full Version
Only the generator, includes: Yajra Datatables, Intervention Image, and Bootstrap 5.
Publish assets
php artisan generator:install simple
Register the provider in config/app.php
/*
* Package Service Providers...
*/
App\Providers\ViewComposerServiceProvider::class,
Then goes to /simple-generators/create/
The generator + starter app, includes: Yajra Datatables, Intervention Image, Laravel Fortify, Spatie Permission, and Mazer Template.
Installing this package after a brand-new Laravel installation is necessary if you want to use the full version of it. because several files will be overwritten.
Install Laravel Fortify & Spatie Permission
composer require laravel/fortify spatie/laravel-permission
Publish assets
php artisan generator:install full
Warning! Be careful with this command, it will overwrite several files, don't run it multiple times.
Register the provider in config/app.php
/*
* Package Service Providers...
*/
App\Providers\FortifyServiceProvider::class,
Spatie\Permission\PermissionServiceProvider::class,
App\Providers\ViewComposerServiceProvider::class,
Run migration and seeder
php artisan migrate --seed
Then goes to /generators/create
Account
- Email: admin@example.com
- Password: password
- Yajra datatable - ^10.x
- Intervention Image - ^2.x
- Laravel Forify - ^1.x
- Spatie permission - ^5.x
- Mazer template - ^2.x
- CRUD Generator
- Support more than 15 column types of migrations, like string, char, date, year, etc.
- Datatables (Yajra Datatables)
- BelongsTo relation
- Model casting
- Image upload (Intervention Image)
- Support HTML 5 Input
- Request validations supported: required, in, image, min, max, string, email, number, date, exists, nullable, unique, comfirmed
- CRUD Generator
- CRUD User
- Roles and permissions (Spatie Permission)
- Authentication (Laravel Fortify)
- Login
- Register
- Forgot Password
- 2FA Authentication
- Update profile information