chengkangzai/laravel-stubs
最新稳定版本:2.4.4
Composer 安装命令:
composer require chengkangzai/laravel-stubs
包简介
Opinionated Laravel stubs
README 文档
README
Opinionated Laravel stubs
This repo contains opinionated versions of the Laravel stubs. The most notable changes are:
- use return type hints where possible
- most docblocks have been removed
- migration are returning class instead of creating class
- Form Request are authorise by default
Installation
You can install the package via composer:
composer require chengkangzai/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 chengkangzai-stub:publish --force" ] }
Usage
You can publish the stubs using this command:
php artisan chengkangzai-stub:publish
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 1.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-10