Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nexylan/coding-standard
Nexylan Coding Standard
https://github.com/nexylan/coding-standard
Last synced: 25 days ago
JSON representation
Nexylan Coding Standard
- Host: GitHub
- URL: https://github.com/nexylan/coding-standard
- Owner: nexylan
- Created: 2018-08-31T15:34:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-22T10:17:44.000Z (almost 6 years ago)
- Last Synced: 2024-12-08T21:35:43.709Z (about 2 months ago)
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nexylan Coding Standard
The Nexylan Coding Standard is a set of configurations for many CS tools.
## PHP_CodeSniffer (PHP)
Nexylan Coding Standard is based on PSR and
[Symfony](https://symfony.com/doc/current/contributing/code/standards.html)
standards plus some rules from
[Slevomat Coding Standard](https://github.com/slevomat/coding-standard).### Usage
Install it globally with php-code-sniffer (RECOMMENDED):
```bash
composer global require nexylan/coding-standard
```Or, as a dependency of your project:
```bash
composer require --dev nexylan/coding-standard
```Then add the standard on your `ruleset.xml` file:
```xml
```
This is the quickest way, but you can of course personalize or disable some rules.