Download the PHP package leroy-merlin-br/larasniffer without Composer
On this page you can find all versions of the php package leroy-merlin-br/larasniffer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download leroy-merlin-br/larasniffer
More information about leroy-merlin-br/larasniffer
Files in leroy-merlin-br/larasniffer
Package larasniffer
Short Description Larasniffer detect violations of a defined coding standard. It helps your code remains clean and consistent.
License MIT
Informations about the package larasniffer
LaraSniffer (Laravel Package)
Detect violations of a defined coding standard. It helps your code remains clean and consistent. Available options are: PSR2, PSR1, Zend, PEAR, Squiz, PHPCS and MySource.

Quick start
Required setup
In the require key of composer.json file add the following
"leroy-merlin-br/larasniffer": "dev-master"
Run the Composer update comand
$ composer update
In your config/app.php add 'LeroyMerlin\LaraSniffer\ServiceProvider' to the end of the $providers array
'providers' => array(
'Illuminate\Foundation\Providers\ArtisanServiceProvider',
'Illuminate\Auth\AuthServiceProvider',
...
'LeroyMerlin\LaraSniffer\ServiceProvider',
),
Publish the configuration file:
php artisan config:publish leroy-merlin-br/larasniffer
Edit the configuration file app/config/packages/leroy-merlin-br/larasniffer/config.php to tweak the sniffer behavior.
Usage
php artisan sniff
Contributting
New contributions are always welcomed. Just open a pull request making sure that it contains tests and doc updates. Please check if the Travis-CI build is alright too.
License
LaraSniffer is free software distributed under the terms of the MIT license
Aditional information
Any issues, please report here
All versions of larasniffer with dependencies
illuminate/support Version ~4.0
illuminate/console Version ~4.0
squizlabs/php_codesniffer Version 1.*





