PHPackages                             barth/dev-pack - 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. barth/dev-pack

ActiveSymfony-pack[Testing &amp; Quality](/categories/testing)

barth/dev-pack
==============

A flex package to provide usefull tools for development only

v1.0.3(6y ago)22.4k1MITPHP

Since Sep 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Jibbarth/dev-pack)[ Packagist](https://packagist.org/packages/barth/dev-pack)[ RSS](/packages/barth-dev-pack/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (12)Versions (5)Used By (1)

DevPack for Symfony
===================

[](#devpack-for-symfony)

This is a Flex pack to install multiple dev tools.

Why
---

[](#why)

On Symfony, we create a project rapidly using composer :

```
composer create-project symfony/skeleton
```

After, we just have to require some [pack dependencies](http://fabien.potencier.org/symfony4-unpack-the-packs.html), and thanks to [flex](https://github.com/symfony/flex), all is configured.

But, for some time, when I start a new project, I add dev-dependencies to improve code quality and keep it in the long run, so I grouped them in this pack with pre-configured files.

It allows me to have clean codes rules to share with project team, and avoid useless discussion in Code Reviews.

[![When using tabs instead space](https://camo.githubusercontent.com/ca23cd6da7d415a59f9bde1ce610db4335ed5ea52e8a0b34b4fb8a1e93346bc6/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f4c524f4b4e717232364e4734382f67697068792e676966)](https://camo.githubusercontent.com/ca23cd6da7d415a59f9bde1ce610db4335ed5ea52e8a0b34b4fb8a1e93346bc6/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f4c524f4b4e717232364e4734382f67697068792e676966)

Installation and usage
----------------------

[](#installation-and-usage)

For the following, I assume you just freshly created a new Symfony Project.

Require the pack as dev dependency

```
composer require --dev barth/dev-pack
```

You now have [my list of dev tools](#list-of-installed-packages), with preconfigured files. Don't hesitate to alterate with your settings or feel free to fork this repo to have your own list and settings.

Cleaning / Unpack
-----------------

[](#cleaning--unpack)

Because it's a **symfony-pack**, you may want to unpack it to keep only required dependencies and no more **barth/dev-pack** in your **composer.json**.

⚠️ I don't recommand to require this pack direclty with the **--unpack** flex option. If you do this, you won't have the preconfigured files.

To do this properly, unpack it after install:

```
composer unpack barth/dev-pack
```

Then, you can also remove [endroid/installer](https://github.com/endroid/installer)which provides a composer plugin to copy file from my pack.

```
composer remove --dev endroid/installer
```

List of installed packages
--------------------------

[](#list-of-installed-packages)

### [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)

[](#php-codesniffer)

This is the most well-known tool in the PHP community, configured with PSR2 ruleset.

### [PHPMD - Mess Detector](https://phpmd.org/)

[](#phpmd---mess-detector)

This tool focuses on the form of the code. Here are the different rules it enforces:

- [Clean Code Rules](https://phpmd.org/rules/index.html#clean-code-rules): Do not pass a boolean as a parameter of a function, avoid `else` and access in` static`.
- [Code Size Rules](https://phpmd.org/rules/index.html#code-size-rules): A class too long, a method that takes too much parameter, a function too complicated, it's here that it happens.
- [Controversial Rules](https://phpmd.org/rules/index.html#controversial-rules): Controversial rules... They focus on naming, especially through the use of CamelCase.
- [Design Rules](https://phpmd.org/rules/index.html#design-rules): A collection of rules that detect problems with software design.
- [Naming Rules](https://phpmd.org/rules/index.html#naming-rules): Rules on names of variables, methods, classes - too long, too short, etc.
- [Unused Code Rules](https://phpmd.org/rules/index.html#unused-code-rules): Detects unused pieces of code.

### [PHPStan - Static Analysis Tool](https://github.com/phpstan/phpstan)

[](#phpstan---static-analysis-tool)

This tool prevents potential bugs before even executing the code. You can see [list of its features](https://github.com/phpstan/phpstan#consider-supporting-it-on-patreon-so-im-able-to-make-it-even-more-awesome) and even test it [online](https://phpstan.org/)

### [PHPCPD - Copy / Paste Detector](https://github.com/sebastianbergmann/phpcpd)

[](#phpcpd---copy--paste-detector)

Very useful to refactor code and avoid having identical pieces of code in several places of a project.

### [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)

[](#php-cs-fixer)

Similar to PHP CodeSniffer, it offers in my opinion a simpler configuration, and fixes errors in a command line.

### [GrumPHP](https://github.com/phpro/grumphp)

[](#grumphp)

Allows to orchestrate all these tools on the precommit hook.

Contribute
----------

[](#contribute)

First of all, thank you for contributing ❤️

Keep in mind that if you add tools, I certainly accept only if fits with my own needs. Don't hesitate to fork this project to fit with your organization needs.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 92% 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 ~93 days

Total

4

Last Release

2526d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49ba44a867952c20e680f8494b2b56689cf6994305f4d059d983f9748e8684ae?d=identicon)[Jibbarth](/maintainers/Jibbarth)

---

Top Contributors

[![Jibbarth](https://avatars.githubusercontent.com/u/3168281?v=4)](https://github.com/Jibbarth "Jibbarth (23 commits)")[![jmsche](https://avatars.githubusercontent.com/u/3929498?v=4)](https://github.com/jmsche "jmsche (1 commits)")[![samnela](https://avatars.githubusercontent.com/u/1852108?v=4)](https://github.com/samnela "samnela (1 commits)")

---

Tags

code-qualitycontroversial-rulesdeveloper-toolsflexsymfonysymfony-flexsymfonycode qualitydevelopmentflexsymfony-pack

### Embed Badge

![Health badge](/badges/barth-dev-pack/health.svg)

```
[![Health](https://phpackages.com/badges/barth-dev-pack/health.svg)](https://phpackages.com/packages/barth-dev-pack)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[sci3ma/symfony-grumphp

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

196.7k](/packages/sci3ma-symfony-grumphp)

PHPackages © 2026

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