PHPackages                             maarsson/dev-tools - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. maarsson/dev-tools

ActiveMetapackage[Utility &amp; Helpers](/categories/utility)

maarsson/dev-tools
==================

Development QA toolchain bundle for my projects

1.2.1(7mo ago)00MITShellPHP ^8.4CI passing

Since Jan 9Pushed 7mo agoCompare

[ Source](https://github.com/maarsson/dev-tools)[ Packagist](https://packagist.org/packages/maarsson/dev-tools)[ RSS](/packages/maarsson-dev-tools/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (5)Versions (8)Used By (0)

maarsson/dev-tools
==================

[](#maarssondev-tools)

Development QA toolchain bundle for my projects.

[![Latest Stable Version](https://camo.githubusercontent.com/3a61a8ef850ab85ce016373a27c9865fb9c8529e08cff9683d43dc1d3fc98f41/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6d61617273736f6e2f6465762d746f6f6c733f6c6162656c3d4c6174657374)](https://github.com/maarsson/dev-tools/releases)[![Minimum PHP Version](https://camo.githubusercontent.com/b8c9c83029d4cd9e6d3f79868d0d2d7fc15e7bfe0d81a791a278d22de6efa68e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d61617273736f6e2f6465762d746f6f6c732f7068702e737667)](https://camo.githubusercontent.com/b8c9c83029d4cd9e6d3f79868d0d2d7fc15e7bfe0d81a791a278d22de6efa68e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d61617273736f6e2f6465762d746f6f6c732f7068702e737667)[![Tested on PHP 8,4 to 8.5](https://camo.githubusercontent.com/432d19ed828bf1b7d20c69d8ed11d3cd19736e64cd3b97c4c47fa3381892bc7c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7465737465642532306f6e2d504850253230382e34253230253743253230382e352d627269676874677265656e2e7376673f6d61784167653d32343139323030)](https://github.com/maarsson/dev-tools/actions/workflows/ci.yml)[![Test](https://github.com/maarsson/dev-tools/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/maarsson/dev-tools/actions/workflows/ci.yml)[![License](https://camo.githubusercontent.com/188c51042545a8460e03f524d12d00b5402903f9f0e7edd3c1cf57bd50dffbd3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d61617273736f6e2f6465762d746f6f6c73)](https://github.com/maarsson/dev-tools/blob/master/LICENSE)

Note

See also [maarsson/coding-standard](https://github.com/maarsson/coding-standard).

About
-----

[](#about)

This package is a Composer metapackage that installs a curated set of development and code-quality tools together with shared coding standards.

Installing this package will pull in:

- `phpmd/phpmd` – [PHP Mess Detector (PHPMD)](https://phpmd.org/) - detect design and complexity issues
- `squizlabs/php_codesniffer` – [PHP CodeSniffer (PHPCS)](https://github.com/PHPCSStandards/PHP_CodeSniffer/) - detect coding standard violations
- `friendsofphp/php-cs-fixer` – [PHP CS Fixer](https://cs.symfony.com/) - automatically enforce modern code style
- `maarsson/coding-standard` – [Centralized standards](https://github.com/maarsson/coding-standard/tree/master) - shared coding standards and sync tooling

By following the installation steps below, the rulesets are automatically applied after composer install and composer update in your project. This guarantees that all projects use the exact same ruleset versions.

---

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

[](#requirements)

- PHP ^8.4
- Composer

---

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

[](#installation)

### 1. Package installation

[](#1-package-installation)

Install the package as a development dependency in your project:

`composer require --dev maarsson/dev-tools`

### 2. Project configuration (required)

[](#2-project-configuration-required)

To ensure the coding standards are applied automatically, you must configure Composer scripts in the target project.

#### 2.1. Add a named sync script

[](#21-add-a-named-sync-script)

In your project’s `composer.json` add:

```
{
  "scripts": {
    "coding-standard:sync": [
      "vendor/bin/sync-coding-standards.php"
    ]
  }
}
```

#### 2.2. Run the sync script on install and update

[](#22-run-the-sync-script-on-install-and-update)

Extend your project’s `composer.json` scripts section to include:

```
{
  "scripts": {
    "coding-standard:sync": [
      "vendor/bin/sync-coding-standards.php"
    ],
    "post-install-cmd": [
      "@coding-standard:sync"
    ],
    "post-update-cmd": [
      "@coding-standard:sync"
    ]
  }
}
```

With this setup, the coding standards are applied automatically.

---

Usage
-----

[](#usage)

For more info please read the `maarsson/coding-standard` package's [readme](https://github.com/maarsson/coding-standard/blob/master/README.md).

---

Design philosophy
-----------------

[](#design-philosophy)

- `maarsson/dev-tools` defines what tools are installed
- `maarsson/coding-standard` defines how rulesets are applied
- The project decides when commands run

This separation keeps behavior explicit, predictable, and Composer-idiomatic.

---

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

34

—

LowBetter than 74% of packages

Maintenance64

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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 ~0 days

Total

6

Last Release

219d ago

PHP version history (2 changes)1.0.1PHP ^8.2

1.1.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/43791389?v=4)[Maarsson](/maintainers/maarsson)[@maarsson](https://github.com/maarsson)

---

Top Contributors

[![maarsson](https://avatars.githubusercontent.com/u/43791389?v=4)](https://github.com/maarsson "maarsson (28 commits)")

---

Tags

standardsdevqatools

### Embed Badge

![Health badge](/badges/maarsson-dev-tools/health.svg)

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

###  Alternatives

[nette/coding-standard

41939.0k21](/packages/nette-coding-standard)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

39255.4k37](/packages/ec-europa-toolkit)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20284.3k20](/packages/shopsys-coding-standards)

PHPackages © 2026

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