reusserdesign/laravel-stubs
最新稳定版本:1.0.3
Composer 安装命令:
composer require reusserdesign/laravel-stubs
包简介
Opinionated Laravel stubs
README 文档
README
This repo contains opinionated versions of the Laravel stubs. The most notable changes are:
- migrations don't have a
downfunction - 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
Installation
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" ] }
Usage
You can publish the stubs using this command:
php artisan reusser-stub:publish
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email developer@reusserdesign.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 4.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-25