Click Here for docs for laravel-generator version < 5.0.
Generator comes with a great flexibility of modifying and customizing the stub files.
For example, If you want to add some custom code into your generated file, then you can publish the view templates and modify it the way you want.
Laravel Generator uses the view system of Laravel, so you can use Overriding Package Views of Laravel and publish views.
It will publish all views under
resources/views/vendor/laravel-generator directory. Once views are published, you can make the changes you want.
To publish laravel-generator-templates, run the following command,
php artisan vendor:publish --tag=laravel-generator-templates
Note: Keep only those templates that you want to change. Remove the templates that you are not going to change.
To Publish AdminLTE Templates stub view files,
php artisan vendor:publish --tag=adminlte-templates
AdminLTE templates also has some common views which are used across all module CRUDs, like, Errors, Pagination, etc.
php artisan vendor:publish --tag=adminlte-views
To Publish Swagger Generator Templates stub view files,
php artisan vendor:publish --tag=swagger-generator-templates