This repo contains opinionated versions of the Laravel stubs. The most notable changes are:
- migrations don't have a
down
function - controllers don't extend a base controller
- none of the model attributes are guarded
- use return type hints where possible
- most docblocks have been removed
You can install the package via composer:
composer require reusserdesign/laravel-stubs --dev
If you want to keep your stubs up to date with every update, add this composer hook to your composer.json file:
"scripts": {
"post-update-cmd": [
"@php artisan reusser-stub:publish"
]
}
You can publish the stubs using this command:
php artisan reusser-stub:publish
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email developer@reusserdesign.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.