jskrd/pint-config
最新稳定版本:v1.0.0
Composer 安装命令:
composer require jskrd/pint-config
包简介
Laravel Pint config for PHP code formatting
README 文档
README
About
This package provides a Laravel Pint configuration for PHP projects which follow the PSR-12 coding style and coding style commonly seen in the official PHP documentation.
Installation
Install the package using Composer:
composer require --dev laravel/pint jskrd/pint-config
Usage
Either run Pint directly with the configuration file:
./vendor/bin/pint --config vendor/jskrd/pint-config/pint.json
Or add a format script to your composer.json file to run Pint with the configuration file:
composer config scripts.format 'pint --config vendor/jskrd/pint-config/pint.json' --file composer.json
And run the script:
composer format
统计信息
- 总下载量: 39
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-06