Hi, this is a scaffold generator for Laravel 7. You can Create Basic CRUD application by using this package.
Demo Site
https://demo-cds.dog-ears.net/
The CRUD application generated by this package has the following features.
[ General ]
[ Index Page ]
[ Create / Edit / Duplication ]
Ver 4.0.0 Renewal for laravel 7
Ver 3.0.0 Renewal
Ver 2.6.0 Add Varidation and keep old input value.
composer require laravel/ui
php artisan ui bootstrap
if you want to use laravel auth, use below
composer require laravel/ui
php artisan ui bootstrap --auth
composer require dog-ears/crud-d-scaffold
You're all set.
Run php artisan
from the console, and you'll see the new commands below.
- 'crud-d-scaffold:setup' : Setup crud-d-scaffold with bootstrap 3
This completes the preparation.
Let's register the sample.
cp ./vendor/dog-ears/crud-d-scaffold/crud-d-scaffold_case0010.json ./crud-d-scaffold.json
php artisan crud-d-scaffold:setup -f
Overwriting the file with -f option.
For the first time, the f option is unnecessary. (No problem with putting on)
It is recommended to back up with git before set up scaffold.
npm install
npm run dev
php artisan migrate
php artisan db:seed
It's all over.
Please check your application.
If you want to modify the application structure, After running [migrate: rollback], delete the migration file (/ database / migrations /) and then execute [ Crud-d-scaffold: setup-f ]
see crud-d-scaffold_case00XX.json
and now you can create crud-d-scaffold.json from this site.
ER-DIAGRAM-TOOL
http://er.dog-ears.net/
-f, --force Overwrite the file. (If there is an existing file in the absence of the option, processing stops there.)
visit my blog http://dog-ears.net/en/category/laravel/package/scaffold/history/