chromabits/standards
最新稳定版本:v0.1.11
Composer 安装命令:
composer require chromabits/standards
包简介
An opinionated PHP standard
README 文档
README
DEPRECATED: This package is no longer maintained. It has been replaced by https://github.com/sellerlabs/php-standard.
php-standard
This repository contains tools for enforcing a personal PHP coding style standard and a specific project organization structure.
It's highly opinionated. You've been warned. No crybabies please.
Organization
This project is divided into three parts:
- Chroma: A coding standard for PHP Code Sniffer. Ironically, its not currently possible to enforce the standard rules into itself because the PHP Code Sniffer expects a very specific style. However, the standard is enforced on every other part of the library.
- phpstd CLI tool:
phpstdis a small CLI application with commands for linting, cleaning, validating, and setting up new projects. - phpmd.xml: A
phpmd.xmlfile is bundled for additional checks.
Style Guide
TODO
Contributing
Pull requests are accepted on GitHub. Bug fixes and small improvements are welcome. However, big style changes will be carefully review. Many code style decisions are purely personal (snake_case vs camelCase).
Security
If you discover any security related issues, please email ed+security@chromabits.com instead of using the issue tracker.
License
This code is licensed under the MIT license. See LICENSE for more information.
统计信息
- 总下载量: 5.65k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-19