by leroy-merlin-br

leroy-merlin-br /larasniffer

Larasniffer detect violations of a defined coding standard. It helps your code remains clean and con...

129 Stars 9 Forks Last release: Not found 42 Commits 3 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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.

Build Status Coverage Status Latest Stable Version Total Downloads License


php artisan sniff

Quick start

Required setup

In the

key of
file add the following
"leroy-merlin-br/larasniffer": "dev-master"

Run the Composer update comand

$ composer update

In your

to the end of the
'providers' => array(



Publish the configuration file:

php artisan config:publish leroy-merlin-br/larasniffer

Edit the configuration file

to tweak the sniffer behavior.


php artisan sniff


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.

See all contributors


LaraSniffer is free software distributed under the terms of the MIT license

Aditional information

Any issues, please report here

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.