Proof of concept to preset-web and generator commands
- install laravel fresh app
composer create-project --prefer-dist laravel/laravel poc-web && cd poc-web
- Install laravelha/preset-web
composer require laravelha/preset-web
- Run preset
php artisan preset ha-web
- Install and run assets
npm install && npm run dev
- Install laravelha/generator
composer require laravelha/generator
- Publish laravelha generator config file
php artisan vendor:publish --tag=ha-generator
php artisan ha-generator:crud Category -s 'title:string(150), description:text:nullable, published_at:timestamp:nullable'
After set database in .env
php artisan migrate
Run tinker and factory create
php artisan tinker
factory(\App\Category::class, 50)->create();
This project use Tableable see about on laravelha/suppot