alquesadilla/php-coding-standards-enforcer
Enforce coding standards on your PHP & Javascript. Now with SWagger Support. Don't let your team mess up your code base.
10,629
| Install | |
|---|---|
composer require alquesadilla/php-coding-standards-enforcer |
|
| Latest Version: | 1.0.5 |
| PHP: | >=5.5.9 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Jan 21, 2018 |
| Links: | GitHub · Packagist |
Maintainer: babaganoush
php-coding-standards-enforcer
Enforce coding standards on your PHP & JS code base
Install with composer
composer require alquesadilla/php-coding-standards-enforcer --dev
Add the provider to app config
Alquesadilla\Enforcer\EnforcerServiceProvider::class
Use artisan to publish the config
php artisan vendor:publish --provider="Alquesadilla\Enforcer\EnforcerServiceProvider" --tag=config
Run artisan command to copy the pre-commit hook
php artisan enforcer:copy
If you are working with other developers and you prefer each time that someone makes a clone and runs composer install, the hook is automatically copied, just add the copy command to the composer scripts, anyways it runs only on the defined environment, which by default is local.
"post-install-cmd": [
"...laravel commands..."
"php artisan enforcer:copy"
],
Related Packages
igorsgm/laravel-git-hooks
🪝• Efficiently manage Git hooks in Laravel projects. Enhance code quality, save...
44,937
29
indy2kro/laravel-git-hooks
🪝• Efficiently manage Git hooks in Laravel projects. Enhance code quality, save...
2,603
0
highsolutions/github-hook
A Laravel package for simple Continuous Integration based on GitHub push.
1,458
8
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.5 | >=5.5.9 | 5.* | MIT | |
| 1.0.4 | >=5.5.9 | 5.* | MIT | |
| 1.0.3 | >=5.5.9 | 5.* | MIT | |
| 1.0.2 | >=5.5.9 | 5.* | MIT | |
| 1.0.1 | >=5.5.9 | 5.* | MIT | |
| 1.0.0 | >=5.5.9 | 5.* | MIT |