PHPackages                             sci3ma/sf4grumphp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. sci3ma/sf4grumphp

Abandoned → [https://github.com/sci3ma/symfony-grumphp](/?search=https%3A%2F%2Fgithub.com%2Fsci3ma%2Fsymfony-grumphp)Library[Testing &amp; Quality](/categories/testing)

sci3ma/sf4grumphp
=================

Configured GrumPHP with bunch of tools for static code analysis Symfony Framework

v3.2.2(5y ago)194623[1 issues](https://github.com/sci3ma/symfony-grumphp/issues)MITPHPPHP ^7.3|^8.0

Since Mar 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sci3ma/symfony-grumphp)[ Packagist](https://packagist.org/packages/sci3ma/sf4grumphp)[ Docs](https://github.com/sci3ma/symfony-grumphp)[ RSS](/packages/sci3ma-sf4grumphp/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (17)Versions (35)Used By (0)

Symfony + GrumPHP
=================

[](#symfony--grumphp)

`symfony-grumphp` is configured GrumPHP with bunch of tools for static code analysis mainly based on [PSRs](https://www.php-fig.org/psr/) and [Symfony Coding Standards](https://symfony.com/doc/current/contributing/code/standards.html) for Symfony Framework projects.

[![GitHub release (latest SemVer)](https://camo.githubusercontent.com/986cb2a26e038a21e26a41aca16e0854324593b99723a206702758a72e38816b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f736369336d612f73796d666f6e792d6772756d7068703f7374796c653d666c61742d737175617265)](https://github.com/sci3ma/symfony-grumphp)[![GitHub](https://camo.githubusercontent.com/3996d6e18dcd8bb9e2c624236748402e78e7316d1037ef252ed49bcb39ca69d8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736369336d612f73796d666f6e792d6772756d7068703f7374796c653d666c61742d737175617265)](https://github.com/sci3ma/symfony-grumphp/blob/master/LICENSE)[![Packagist (custom server)](https://camo.githubusercontent.com/991ddc532629f81ea68b041faa8b0f9d508ba88e51023d31b63e02e08d390ca6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736369336d612f73796d666f6e792d6772756d7068703f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sci3ma/symfony-grumphp/stats)[![GitHub last commit](https://camo.githubusercontent.com/dc5d55570bad2ad947ed43a3ea070aa5757f8e26df530b4039c1672199e430ef/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f736369336d612f73796d666f6e792d6772756d7068703f7374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/sci3ma/symfony-grumphp/commits/master)[![Travis (.org)](https://camo.githubusercontent.com/bec25ed3ab81ef512297f7d73a19ba54bfbc6709e246170bcf51901fd568c9ab/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736369336d612f73796d666f6e792d6772756d7068703f7374796c653d666c61742d737175617265266c6f676f3d7472617669732d6369)](https://travis-ci.com/sci3ma/symfony-grumphp)[![Coveralls github](https://camo.githubusercontent.com/e98c496c4d23414b1352da64edc47d4de7a7471aaeb0b1d9f7c1eb2e0fb3f16d/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f736369336d612f73796d666f6e792d6772756d7068703f6c6f676f3d636f766572616c6c73267374796c653d666c61742d737175617265)](https://coveralls.io/github/sci3ma/symfony-grumphp)

Included tools
--------------

[](#included-tools)

- [GrumPHP](https://github.com/phpro/grumphp): `phpro/grumphp`
- [PhpCpd](https://github.com/sebastianbergmann/phpcpd): `sebastian/phpcpd`
- [PHP-CS-FIXER](https://github.com/FriendsOfPHP/PHP-CS-Fixer): `friendsofphp/php-cs-fixer`
- [PHPLint](https://github.com/php-parallel-lint/PHP-Parallel-Lint): `php-parallel-lint/php-parallel-lint`
- [PhpMd](https://github.com/phpmd/phpmd): `phpmd/phpmd`
- [PHPStan](https://github.com/phpstan/phpstan): `phpstan/phpstan`
    - [Doctrine extension](https://github.com/phpstan/phpstan-doctrine): `phpstan/phpstan-doctrine`
    - [PHPUnit extension](https://github.com/phpstan/phpstan-phpunit): `phpstan/phpstan-phpunit`
    - [Symfony Framework extension](https://github.com/phpstan/phpstan-symfony): `phpstan/phpstan-symfony`
    - [TheCodingMachine's additional rules](https://github.com/thecodingmachine/phpstan-strict-rules): `thecodingmachine/phpstan-strict-rules`
- [PHPUnit Bridge](https://github.com/symfony/phpunit-bridge): `symfony/phpunit-bridge`
    - With Clover Coverage and percentage code coverage check
- [Enlightn Security Checker](https://github.com/enlightn/security-checker): `enlightn/security-checker`

Requirements
------------

[](#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
------------

[](#installation)

To install `symfony-grumphp`, [install Composer](https://getcomposer.org/download/), execute the following command:

```
composer require --dev sci3ma/symfony-grumphp

```

and create (or update) configuration files:

```
./vendor/bin/symfony-grumphp install

```

Configuration
-------------

[](#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:

```
./vendor/bin/grumphp git:init

```

or disable GrumPHP:

```
./vendor/bin/grumphp git:deinit

```

You can find more GrumPHP configuration [here](https://github.com/phpro/grumphp/blob/master/doc/commands.md#installation).

##### Test code with the database

[](#test-code-with-the-database)

If you need to test code that interact with the database you need to instal [`dama/doctrine-test-bundle`](https://github.com/dmaicher/doctrine-test-bundle):

```
composer require --dev dama/doctrine-test-bundle

```

and uncomment extension `` in `phpunit.xml.dist`.
Read more about [how to Test Code that Interacts with the Database](https://symfony.com/doc/current/testing/database.html)

Uninstall
---------

[](#uninstall)

If you want to uninstall this library remove configuration files first:

```
./vendor/bin/symfony-grumphp uninstall

```

then remove package:

```
composer remove sci3ma/symfony-grumphp

```

Force run
---------

[](#force-run)

You can run tests/checks our code without commit manually:

```
./vendor/bin/grumphp run

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 98.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~23 days

Recently: every ~59 days

Total

34

Last Release

1848d ago

Major Versions

v1.2.2 → v2.0.02019-11-10

v2.2.0 → v3.0.02019-12-28

PHP version history (4 changes)v1.0.0PHP &gt;=7.1

v3.0.0PHP ^7.2.0|^7.3.0|^7.4.0

v3.1.0PHP ^7.3.0|^7.4.0

v3.2.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c747fc82d749649606874d8ca855a80ec40d7d06fe4b14ba275977c825cc78c3?d=identicon)[sci3ma](/maintainers/sci3ma)

---

Top Contributors

[![marcinharasim](https://avatars.githubusercontent.com/u/16610387?v=4)](https://github.com/marcinharasim "marcinharasim (79 commits)")[![sela](https://avatars.githubusercontent.com/u/340717?v=4)](https://github.com/sela "sela (1 commits)")

---

Tags

clean-codecode-qualitygrumphpphmdphp-cs-fixerphpstanphpunitstandardsstatic-analysissymfonysymfony-grumphpphpstandardsphpcsphpunitsymfonyPHPStanphpmdcode qualitygrumphp

### Embed Badge

![Health badge](/badges/sci3ma-sf4grumphp/health.svg)

```
[![Health](https://phpackages.com/badges/sci3ma-sf4grumphp/health.svg)](https://phpackages.com/packages/sci3ma-sf4grumphp)
```

###  Alternatives

[sci3ma/symfony-grumphp

Configured GrumPHP with bunch of tools for static code analysis Symfony Framework

196.7k](/packages/sci3ma-symfony-grumphp)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[jbzoo/ci-report-converter

The tool converts different error reporting standards for deep integration with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc)

30784.4k2](/packages/jbzoo-ci-report-converter)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13176.9k8](/packages/youwe-testing-suite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
