zephyrphp/laravel-presets
最新稳定版本:0.1
Composer 安装命令:
composer require zephyrphp/laravel-presets
包简介
Presets are an opinionated coding style for your Laravel application.
README 文档
README
Presets are an opinionated coding style for your Laravel application.
Installation
You may install Presets via Composer:
composer require zephyrphp/laravel-presets --dev
You can install Presets by invoking the install command that is available via artisan:
php artisan presets:install
Usage
Configuration
Presets publish some configuration using the app/Providers/AppServiceProvider.php configuration file :
$this->configureCommands(); $this->configureDates(); $this->configureModels(); $this->configurePasswordValidation(); $this->configureUrl();
Tooling
Presets uses a few tools to ensure the code quality and consistency :
- Pest is the testing framework,
- PHPStan for static analysis,
- Laravel Pint to ensure the code is consistent and follows the Laravel conventions.
- Rector to ensure the code is up to date with the latest PHP version.
You run these tools using the following commands:
# Lint using Pint composer code:lint # Refactor using Rector composer code:refactor # Analyse using PHPStan composer code:analyse # Test using Pest composer code:test # Run all the test using Pint, Rector, PHPStan & Pest composer test
Authors
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-01