Download the PHP package lasselehtinen/laravel-conventions-checker without Composer
On this page you can find all versions of the php package lasselehtinen/laravel-conventions-checker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lasselehtinen/laravel-conventions-checker
More information about lasselehtinen/laravel-conventions-checker
Files in lasselehtinen/laravel-conventions-checker
Download lasselehtinen/laravel-conventions-checker
More information about lasselehtinen/laravel-conventions-checker
Files in lasselehtinen/laravel-conventions-checker
Vendor lasselehtinen
Package laravel-conventions-checker
Short Description grumphp config to automatically check conventions for Laravel projects
License MIT
Package laravel-conventions-checker
Short Description grumphp config to automatically check conventions for Laravel projects
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-conventions-checker
Goal
Configuration for grumphp that is checking on each commit that the committed code passes the unit tests, complies with the PSR2 coding style and static analysis check. It runs the following checks:
- Check that composer.json is valid
- Check that composer does not have any dependencies for known security vulnerabilities with Local PHP Security Checker
- Check that the PHP syntax is valid
- Check that commit does not contain any debugging (var_dump, die, exit)
- Check that code complies with the PSR2 coding style
- Perform static code analysis using phpstan
- Check code for unnecessary complexity etc. with PHP Mess Detector
- Check that unit tests pass with PHPUnit
Installation
1. Add checker to your composer.json
:
2. Download Local PHP Security Checker
Download a binary from the Releases page on Github, rename it to local-php-security-checker
and make it executable.
3. Add path to grumphp configuration file to your composer.json
's extra:
Test suites
If you want to run the coding syntax, style or static analysis checks only, you can run the following commands:
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-conventions-checker with dependencies
PHP Build Version
Package Version
Requires
phpro/grumphp Version
^2.3
phpmd/phpmd Version ^2.10
squizlabs/php_codesniffer Version ^3.7
larastan/larastan Version ^2.7.0
php-parallel-lint/php-parallel-lint Version ^1.3
phpmd/phpmd Version ^2.10
squizlabs/php_codesniffer Version ^3.7
larastan/larastan Version ^2.7.0
php-parallel-lint/php-parallel-lint Version ^1.3
The package lasselehtinen/laravel-conventions-checker contains the following files
Loading the files please wait ....