PHPackages                             yohanlaborda/behaviour - 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. yohanlaborda/behaviour

ActiveLibrary[Testing &amp; Quality](/categories/testing)

yohanlaborda/behaviour
======================

Rules for PHPStan

1.0.0(4y ago)22.8kMITPHPPHP ^7.4 || ^8.0CI failing

Since Apr 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/yohanlaborda/behaviour)[ Packagist](https://packagist.org/packages/yohanlaborda/behaviour)[ RSS](/packages/yohanlaborda-behaviour/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (19)Used By (0)

Behaviour
=========

[](#behaviour)

They are rules for behaviour tests and code smells, applied with the library PHPStan.

Documentation
=============

[](#documentation)

For more information visit the [Wiki](https://github.com/yohanlaborda/behaviour/wiki).

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~42 days

Total

18

Last Release

1669d ago

Major Versions

0.4.5 → 1.0.02021-11-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/8193be86fa075ca5a08e9410780e5ab6df8e1c649081dddce927c26ad565d9f1?d=identicon)[yohanlaborda](/maintainers/yohanlaborda)

---

Top Contributors

[![yohanlaborda](https://avatars.githubusercontent.com/u/43683768?v=4)](https://github.com/yohanlaborda "yohanlaborda (1 commits)")

---

Tags

behatbehaviourclean-codecode-smellsphpphp7phpstanphpstan-extension

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/yohanlaborda-behaviour/health.svg)

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.6k](/packages/larastan-larastan)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79173.3M2.0k](/packages/phpstan-phpstan-symfony)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67070.7M1.3k](/packages/phpstan-phpstan-doctrine)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

4813.1M82](/packages/shipmonk-dead-code-detector)[spaze/phpstan-disallowed-calls

PHPStan rules to detect disallowed method &amp; function calls, constant, namespace, attribute, property &amp; superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.

33321.8M508](/packages/spaze-phpstan-disallowed-calls)[mglaman/phpstan-drupal

Drupal extension and rules for PHPStan

20830.6M167](/packages/mglaman-phpstan-drupal)

PHPackages © 2026

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