Download the PHP package webservco/coding-standards without Composer
On this page you can find all versions of the php package webservco/coding-standards. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download webservco/coding-standards
More information about webservco/coding-standards
Files in webservco/coding-standards
Download webservco/coding-standards
More information about webservco/coding-standards
Files in webservco/coding-standards
Vendor webservco
Package coding-standards
Short Description Custom, opinionated coding standards based on PSR12, SlevomatCodingStandard, and PHPCompatibility.
License MIT
Homepage https://webserv.co
Package coding-standards
Short Description Custom, opinionated coding standards based on PSR12, SlevomatCodingStandard, and PHPCompatibility.
License MIT
Homepage https://webserv.co
Keywords coding-standardwebservco
Please rate this library. Is it a good library?
Informations about the package coding-standards
webservco/coding-standards
A collection of coding standards and configuration files.
Custom, opinionated coding standards based on PSR12, SlevomatCodingStandard, and PHPCompatibility.
Setup
Optionally, install any of the dependencies from require-dev
that you wish to use in your project.
Components
Phan
Usage:
PHP_CodeSniffer
Example configuration file .phpcs/php-coding-standard.xml
, to be placed in own project:
Usage:
Rulesets:
phpcs/ruleset-namespaces.xml
: Slevomat namespace usage;phpcs/ruleset-psr-php74-slevomat.xml
: PHP 7.4, PSR-12, Slevomat;phpcs/ruleset-psr-php81.xml
: PHP 8.1, PSR-12;phpcs/ruleset-psr-php81-slevomat.xml
: PHP 8.1, PSR-12, Slevomat;phpcs/ruleset-psr-php82.xml
: PHP 8.2, PSR-12;phpcs/ruleset-psr-php82-slevomat.xml
: PHP 8.2, PSR-12, Slevomat;phpcs/ruleset-psr-php83.xml
: PHP 8.3, PSR-12;phpcs/ruleset-psr-php83-slevomat.xml
: PHP 8.3, PSR-12, Slevomat;
PHPMD
Usage:
PHPStan
Symfony support
- install symfony related packages:
- (if using Doctrine) "phpstan/phpstan-doctrine": "^1",
- "phpstan/phpstan-symfony": "^1",
- (if using Doctrine) create
.phpstan/get_doctrine_manager.php
, as in phpstan-doctrine documentation - use specific
phpstan-symfony.neon
orphpstan-symfony-doctrine.neon
configuration files
Usage:
PHPUnit
Composer scripts example:
Usage:
Psalm
Usage:
All versions of coding-standards with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4||^8.1
The package webservco/coding-standards contains the following files
Loading the files please wait ....