m-breuer/pint-preset
最新稳定版本:1.0.3
Composer 安装命令:
composer require m-breuer/pint-preset
包简介
An opinionated Laravel Pint configuration preset for consistent PHP and Laravel project styling.
README 文档
README
A reusable, opinionated formatting preset for Laravel Pint, Laravel’s official PHP code style fixer.
This package provides a consistent style guide for Laravel and PHP projects, enabling uniform code standards across multiple repositories.
Features
- Consistent and opinionated code style
- Easy integration into any Laravel or PHP project
- Centralized maintenance of formatting rules
- Suitable for teams and individual developers
Installation
Install the package via Composer:
composer require m-breuer/pint-preset --dev
Usage
To use this preset, point your project's pint.json to the configuration file in this package.
Example pint.json:
{
"config": "./vendor/m-breuer/pint-preset/pint.json"
}
Then run Pint:
composer pint
This allows your project to consume a centrally maintained Pint rule set.
Requirements
- PHP 8.1 or higher
- Laravel Pint 1.10 or higher
License
This package is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 299
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-25