Download the PHP package longman/php-code-style without Composer
On this page you can find all versions of the php package longman/php-code-style. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download longman/php-code-style
More information about longman/php-code-style
Files in longman/php-code-style
Download longman/php-code-style
More information about longman/php-code-style
Files in longman/php-code-style
Vendor longman
Package php-code-style
Short Description Longish Code style configurations
License MIT
Package php-code-style
Short Description Longish Code style configurations
License MIT
Please rate this library. Is it a good library?
Informations about the package php-code-style
Longish code style configuration
This is a PSR-12 based code style ruleset for PHP Code Sniffer
PHP Code Sniffer
Configuration file: longish.phpcs.xml
Usage
-
Link longman/php-code-style repo as composer dependency
$ composer require --dev longman/php-code-style
-
Extend provided configuration to adapt it to your project. For example, create custom
phpcs.xml
file and put: - For Laravel you can directly include
laravel.phpcs.xml
:
Running check (Laravel example):
vendor/bin/phpcs --standard=vendor/longman/php-code-style/laravel.phpcs.xml -spn --encoding=utf-8 --report-width=150 --colors --parallel=16 app/ config/ tests/
Running check with custom phpcs.xml:
vendor/bin/phpcs --standard=phpcs.xml -spn --encoding=utf-8 --report-width=150 --colors --parallel=16 app/ config/ tests/
All versions of php-code-style with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
phpcsstandards/phpcsextra Version ^1.0
slevomat/coding-standard Version ^8.0
phpcsstandards/phpcsextra Version ^1.0
slevomat/coding-standard Version ^8.0
The package longman/php-code-style contains the following files
Loading the files please wait ....