Publishing the stub files

Publishing the stub files

Stub files is the templates which we use to generate the code for each model classes and files. We can customize the stub files as we needed by publishing them to our project directory.

1
$ php artisan vendor:publish --provider="Luthfi\CrudGenerator\ServiceProvider" --tag=stubs

That will generate stub files on stubs/simple-crud directory. Now we can change some stub files based on our project needs.

What's on this Page