PHPackages                             leverage-php/toolchain - 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. leverage-php/toolchain

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

leverage-php/toolchain
======================

Highly opinionated PHP toolchain.

v1.4.4(1y ago)0743↓100%2MITPHP

Since Mar 14Pushed 1y agoCompare

[ Source](https://github.com/leverage-php/toolchain)[ Packagist](https://packagist.org/packages/leverage-php/toolchain)[ RSS](/packages/leverage-php-toolchain/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (29)Used By (2)

Leverage Toolchain
==================

[](#leverage-toolchain)

Introduction
------------

[](#introduction)

This project is designed to make it easier to get new PHP projects off the ground with strong tooling already in place.

It provides -

- Code style using PHP CS Fixer with a .php-cs-fixer.php config file
- Linting using phplint
- Static analysis using PHPStan with a phpstan.neon config file
- Unit testing using PHPUnit with the PHPStan extension installed
- A verify script that runs them all to make it easy to test everything before you push

Usage
-----

[](#usage)

```
    "require-dev": {
        "leverage-php/toolchain": "*"
    },

```

This will install all the scripts into your `vendor/bin` directory.

Most stuff will "just work" but you'll probably want to symlink PHPStan's config file so your editor knows what the settings are.

```
ln -s vendor/leverage-php/toolchain/conf/phpstan.neon phpstan.neon

```

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~36 days

Recently: every ~55 days

Total

26

Last Release

619d ago

Major Versions

v0.17 → v1.0.02022-08-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/752c7d73a901e4127eb085e33a61da585b8616b0effa0e9602fb52ea1d33c012?d=identicon)[avfletch](/maintainers/avfletch)

---

Top Contributors

[![yevhen-minenko](https://avatars.githubusercontent.com/u/103666907?v=4)](https://github.com/yevhen-minenko "yevhen-minenko (15 commits)")[![mzukowski](https://avatars.githubusercontent.com/u/7137978?v=4)](https://github.com/mzukowski "mzukowski (4 commits)")[![avfletch](https://avatars.githubusercontent.com/u/25877316?v=4)](https://github.com/avfletch "avfletch (2 commits)")

### Embed Badge

![Health badge](/badges/leverage-php-toolchain/health.svg)

```
[![Health](https://phpackages.com/badges/leverage-php-toolchain/health.svg)](https://phpackages.com/packages/leverage-php-toolchain)
```

###  Alternatives

[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2021.0M275](/packages/drupal-core-dev)[codeigniter4/devkit

Development toolkit for CodeIgniter libraries and projects

68187.1k82](/packages/codeigniter4-devkit)[ticketswap/phpstan-error-formatter

A minimalistic error formatter for PHPStan

87578.8k35](/packages/ticketswap-phpstan-error-formatter)[ramsey/devtools

A Composer plugin to aid PHP library and application development.

7134.7k26](/packages/ramsey-devtools)[rich-davis1/phpw2v

A PHP implementation of Word2Vec, a popular word embedding algorithm created by Tomas Mikolov and popularized by Radim Řehůřek &amp; Peter Sojka with the Gensim Python library.

481.2k](/packages/rich-davis1-phpw2v)

PHPackages © 2026

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