This package brings all of Laravel's stubs but without docblocks. That's it. Stubs are template files that are used by the framework's "make" command, e.g. php artisan make:model
. This package is inspired by zepfietje/laravel-stubs, the difference is that this package only removes docblocks.
- Install this package.
$ composer require elbojoloco/laravel-clean-stubs
- Add this hook to "scripts" in your
composer.json
to receive the latest stubs when this packages gets updated."post-update-cmd": [ "@php artisan stub:publish --force" ]
- Publish the stubs.
$ php artisan stub:publish