Download the PHP package sci3ma/symfony-grumphp without Composer
On this page you can find all versions of the php package sci3ma/symfony-grumphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package symfony-grumphp
Symfony + GrumPHP
symfony-grumphp
is configured GrumPHP with bunch of tools for static code analysis mainly based on PSRs and Symfony Coding Standards for Symfony Framework projects.
Included tools
- GrumPHP:
phpro/grumphp
- PhpCpd:
sebastian/phpcpd
- PHP-CS-FIXER:
friendsofphp/php-cs-fixer
- PHPLint:
php-parallel-lint/php-parallel-lint
- PhpMd:
phpmd/phpmd
- PHPStan:
phpstan/phpstan
- Doctrine extension:
phpstan/phpstan-doctrine
- PHPUnit extension:
phpstan/phpstan-phpunit
- Symfony Framework extension:
phpstan/phpstan-symfony
- TheCodingMachine's additional rules:
thecodingmachine/phpstan-strict-rules
- Doctrine extension:
- PHPUnit Bridge:
symfony/phpunit-bridge
- With Clover Coverage and percentage code coverage check
- Enlightn Security Checker:
enlightn/security-checker
Requirements
PHP needs to be a minimum version of PHP 7.3.
Symfony Framework needs to be a minimum version of Symfony Framework 4.0 or 5.0.
Installation
To install symfony-grumphp
, install Composer, execute the following command:
and create (or update) configuration files:
Configuration
You can, and perhaps you should, check and customize all configured tasks in grumphp.yml
file in project root folder.
GrumPHP should be enabled by default but you can also enable GrumPHP yourself:
or disable GrumPHP:
You can find more GrumPHP configuration here.
Test code with the database
If you need to test code that interact with the database you need to instal dama/doctrine-test-bundle
:
and uncomment extension <extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
in phpunit.xml.dist
.
Read more about how to Test Code that Interacts with the Database
Uninstall
If you want to uninstall this library remove configuration files first:
then remove package:
Force run
You can run tests/checks our code without commit manually:
All versions of symfony-grumphp with dependencies
composer/composer Version ^2.0
enlightn/security-checker Version ^1.5
friendsofphp/php-cs-fixer Version ^2.18
php-parallel-lint/php-parallel-lint Version ^1.2
phpmd/phpmd Version ^2.9
phpro/grumphp Version ^1.3
phpstan/phpstan Version ^0.11.2|^0.12.26
phpstan/phpstan-doctrine Version ^0.11.1|^0.12.0
phpstan/phpstan-phpunit Version ^0.11.0|^0.12.0
phpstan/phpstan-symfony Version ^0.11.1|^0.12.0
psr/event-dispatcher Version ^1.0
sebastian/phpcpd Version ^6.0
symfony/console Version ^4.0|^5.0
symfony/filesystem Version ^4.0|^5.0
symfony/phpunit-bridge Version ^4.0|^5.0
thecodingmachine/phpstan-strict-rules Version ^0.11.2|^0.12.0