laravel-fans/lint
最新稳定版本:v9.3.0
Composer 安装命令:
composer require laravel-fans/lint
包简介
Laravel Lint Code Style
README 文档
README
Check Code Style(default PSR-12) for Laravel
install
Run in your Laravel project:
composer require --dev laravel-fans/lint php artisan lint:publish
You will find pint.json, phpcs.xml and phpmd.xml in your project, feel free to change it.
usage
lint all
php artisan lint
php artisan lint --fix
lint code
php artisan lint:code php artisan lint:code --fix php artisan lint:code app/ tests/ php artisan lint:code app/ tests/ --fix php artisan lint:pint php artisan lint:phpcs php artisan lint:pmd php artisan lint:staged
lint route
php artisan lint:route
Slug(kebab-case) URI standard: lowercase ASCII letters, digits, and hyphens (a-z, 0–9, -)
统计信息
- 总下载量: 37.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-06