PHPackages                             atoms/phpstan-rules - 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. atoms/phpstan-rules

ActivePhpstan-extension

atoms/phpstan-rules
===================

PHPStan rules enforcing the Atoms boundary: no framework symbols in Atom code, serialization-algebra checks, Shared-zone purity.

0.1.0(yesterday)00MITPHPPHP ^8.3

Since Aug 14Pushed todayCompare

[ Source](https://github.com/AtomsPHP/phpstan-rules)[ Packagist](https://packagist.org/packages/atoms/phpstan-rules)[ Docs](https://atomsphp.dev)[ RSS](/packages/atoms-phpstan-rules/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

atoms/phpstan-rules
===================

[](#atomsphpstan-rules)

PHPStan rules for the Atoms boundary. They reject framework leakage, non-serializable boundary types, adapter layering violations, and code that depends on a guest clock which does not advance during a deployed turn.

```
composer require --dev atoms/phpstan-rules:^0.1
```

Include the shipped rules in `phpstan.neon`:

```
includes:
    - vendor/atoms/phpstan-rules/rules.neon
```

See the [limits guide](https://docs.atomsphp.dev/reference/limits/) for the frozen-clock rules and their ATOMS-E101/E102 diagnostics.

Development and support
-----------------------

[](#development-and-support)

This package is developed in the [Atoms monorepo](https://github.com/AtomsPHP/atoms). Its standalone repository is a read-only distribution mirror; report issues and send pull requests to the monorepo. Licensed under the [MIT License](LICENSE).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% 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

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2709404?v=4)[Daniel Abernathy](/maintainers/dabernathy89)[@dabernathy89](https://github.com/dabernathy89)

---

Top Contributors

[![claude](https://avatars.githubusercontent.com/u/81847?v=4)](https://github.com/claude "claude (5 commits)")[![dabernathy89](https://avatars.githubusercontent.com/u/2709404?v=4)](https://github.com/dabernathy89 "dabernathy89 (1 commits)")

---

Tags

PHPStanstatic analysisatoms

### Embed Badge

![Health badge](/badges/atoms-phpstan-rules/health.svg)

```
[![Health](https://phpackages.com/badges/atoms-phpstan-rules/health.svg)](https://phpackages.com/packages/atoms-phpstan-rules)
```

###  Alternatives

[larastan/larastan

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

6.5k60.6M10.3k](/packages/larastan-larastan)[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.

5014.2M110](/packages/shipmonk-dead-code-detector)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67475.0M1.5k](/packages/phpstan-phpstan-doctrine)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79378.2M2.5k](/packages/phpstan-phpstan-symfony)[deptrac/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.

3.0k9.8M231](/packages/deptrac-deptrac)[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.

33923.4M627](/packages/spaze-phpstan-disallowed-calls)

PHPackages © 2026

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