https://github.com/croct-tech/coding-standard-php
The coding-standard for PHP projects.
https://github.com/croct-tech/coding-standard-php
code-style coding-standard php
Last synced: 4 days ago
JSON representation
The coding-standard for PHP projects.
- Host: GitHub
- URL: https://github.com/croct-tech/coding-standard-php
- Owner: croct-tech
- License: mit
- Created: 2020-05-01T18:02:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2026-06-08T21:33:53.000Z (10 days ago)
- Last Synced: 2026-06-08T23:20:34.877Z (9 days ago)
- Topics: code-style, coding-standard, php
- Language: PHP
- Homepage:
- Size: 471 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
PHP Coding Standard
A set of Code Sniffer rules applied to all Croct PHP projects.
📦 Releases
·
🐞 Report Bug
·
✨ Request Feature
## Installation
We recommend using the package manager [Composer](https://getcomposer.org) to install the package:
```sh
composer require croct/coding-standard
```
## Basic usage
Run the following command to check if the project adheres to the coding standard:
```sh
./vendor/bin/phpcs
```
## Contributing
Contributions to the package are always welcome!
- Report any bugs or issues on the [issue tracker](https://github.com/croct-tech/coding-standard-php/issues).
- For major changes, please [open an issue](https://github.com/croct-tech/coding-standard-php/issues) first to discuss what you would like to change.
- Please make sure to update tests as appropriate.
## Testing
Before running the test suites, the development dependencies must be installed:
```sh
composer install
```
Then, to run all tests:
```sh
composer test
```
## License
This library is licensed under the [MIT license](LICENSE).