PHPackages                             mrjoops/symfony-service-devtools - 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. [Framework](/categories/framework)
4. /
5. mrjoops/symfony-service-devtools

ActiveLibrary[Framework](/categories/framework)

mrjoops/symfony-service-devtools
================================

A set of useful tools for building Symfony services.

v0.4.0(6y ago)021MITMakefile

Since Aug 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mrjoops/symfony-service-devtools)[ Packagist](https://packagist.org/packages/mrjoops/symfony-service-devtools)[ RSS](/packages/mrjoops-symfony-service-devtools/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (7)Versions (9)Used By (0)

mrjoops/symfony-service-devtools
================================

[](#mrjoopssymfony-service-devtools)

A set of useful tools for building [Symfony](https://symfony.com) services. To date, it includes:

- Code quality tools with gently defaults
    - [PHPMD](https://phpmd.org/)
    - [PHP Code Sniffer](https://github.com/squizlabs/PHP_CodeSniffer)
    - [PHP CS Fixer](https://github.com/FriendsOfPhp/PHP-CS-Fixer)
    - [PHPStan](https://github.com/phpstan/phpstan)
- Testing tools
    - [Dredd](https://dredd.org)
    - [PHPUnit](https://phpunit.de/)
- A ready to go Docker environment
- Configuration for CI tool Bitbucket Pipelines
- a Makefile to ease interaction with these tools

Installation
------------

[](#installation)

You can install it with [Composer](https://getcomposer.org).

```
composer config extra.symfony.allow-contrib true
composer require --dev mrjoops/symfony-service-devtools

```

Prerequisites
-------------

[](#prerequisites)

Although both are optional, please ensure you have installed **docker-compose** alongside [Docker](https://hub.docker.com/search?q=&type=edition&offering=community) on your system.

If you use Symfony Flex, you can safely jump to the [Usage](#usage) section. Otherwise you must copy the following files in your project to enjoy all the features:

- .env.test
- .php\_cs.dist
- bitbucket-pipelines.yml
- docker-compose.yml
- Dockerfile
- dredd.yml
- Makefile
- phpcs.xml.dist
- phpmd.xml
- phpstan.neon.dist
- phpunit.xml.dist

```
cp vendor/mrjoops/symfony-service-devtools/{.env.test,.php_cs.dist,bitbucket-pipelines.yml,docker-compose.yml,Dockerfile,dredd.yml,Makefile,phpcs.xml.dist,phpmd.xml,phpstan.neon.dist,phpunit.xml.dist} .

```

Don't forget to add the following lines in your `.gitignore` file:

```
/.php_cs
/.php_cs.cache
/phpcs.xml
/.phpcs-cache
/phpstan.neon
/phpunit.xml
.phpunit.result.cache
/test-reports/
/vendor/

```

Feel free to edit these files to fit your needs.

Usage
--------------------------------------

[](#usage)

### Quality tools

[](#quality-tools)

You can run all the code quality tools with this command:

```
make check

```

You can run them individually:

```
make md
make sniff
make stan
make style

```

You can also run the fixers with this command:

```
make fix

```

And again, you can run them individualy:

```
make fix-sniff
make fix-style

```

### Testing tools

[](#testing-tools)

You can run all the testing tools with this command:

```
make test

```

You can run them individually:

```
make dredd
make unit

```

#### A note about Dredd

[](#a-note-about-dredd)

Since Dredd is a NodeJS tool, it is not installed with `mrjoops/symfony-service-devtools`. However it is included in the Docker image (see below) and ready to go!

### Docker

[](#docker)

You can add services to the `docker-compose.yml` file. Then you can start your services with the following command:

```
docker-compose up -d

```

The base Docker image used here is [mrjoops/ppm](https://cloud.docker.com/u/mrjoops/repository/docker/mrjoops/ppm) which uses [PHP-PM](https://github.com/php-pm/php-pm), so you have an efficient PHP web server up and running!

Continuous integration
----------------------

[](#continuous-integration)

A configuration for [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines) exists, it will run all checks and tests on pull requests.

Opinionated advices
-------------------

[](#opinionated-advices)

1. Do yourself a favor and create this alias: `alias dk='docker-compose exec app'`so you'll just have to prefix your commands with `dk` to have them executed in the container.
2. It's a good idea to add `make check` (or `dk make check`) to your git workflow by creating a pre-commit hook.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

8

Last Release

2447d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/806b9608680a9e54ec35a0461f567f0b7112735772aac3752c0f37f27c6aff12?d=identicon)[mrjoops](/maintainers/mrjoops)

---

Top Contributors

[![mrjoops](https://avatars.githubusercontent.com/u/7291430?v=4)](https://github.com/mrjoops "mrjoops (19 commits)")

### Embed Badge

![Health badge](/badges/mrjoops-symfony-service-devtools/health.svg)

```
[![Health](https://phpackages.com/badges/mrjoops-symfony-service-devtools/health.svg)](https://phpackages.com/packages/mrjoops-symfony-service-devtools)
```

###  Alternatives

[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[silverstripe/behat-extension

SilverStripe framework extension for Behat

32564.2k5](/packages/silverstripe-behat-extension)

PHPackages © 2026

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