northrook/php-cs
Composer 安装命令:
composer require --dev northrook/php-cs
包简介
Custom PHP Coding Standards for Northrook projects.
关键字:
README 文档
README
Using PHP-CS-Fixer.
This coding standard deviates from the PSR, focusing on comfort and ergonomics for me.
Important
This package is still in development, and intended for internal use.
Installation
This package is not (yet) available on packagist, but you can install manually by editing your coposer.json file:
{
"require-dev": {
"northrook/php-cs": "dev-main"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/northrook/php-cs"
}
]
}
Then copy the included .php-cs-fixer.dist.php file from
/vendor/northrook/php-cs/.php-cs-fixer.dist.phpto the project root.
Usage
Run the fixer mnually in the console:
./vendor/bin/php-cs-fixer fix
Your IDE might also have an integration, like PhpStorm.
License
统计信息
- 总下载量: 236
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 11
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-30