PHPackages                             fakeller/archinspec - 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. fakeller/archinspec

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

fakeller/archinspec
===================

Static analysis tool for PHP architectures. Define how your architecture should look like and let archinspec validate it.

v0.0.3(9y ago)325MITPHPPHP &gt;=5.6

Since May 11Pushed 9y ago2 watchersCompare

[ Source](https://github.com/FaKeller/archinspec)[ Packagist](https://packagist.org/packages/fakeller/archinspec)[ Docs](https://github.com/FaKeller/archinspec)[ RSS](/packages/fakeller-archinspec/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

[![archinspec](assets/archinspec-logo.png?raw=true "archinspec")](assets/archinspec-logo.png?raw=true)
======================================================================================================

[](#)

[![Stability](https://camo.githubusercontent.com/09533db8a05d85398146d45bcebdf5e124b9b87e3d08312f7b8e4d6c387dc929/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73746162696c6974792d616c7068612d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/09533db8a05d85398146d45bcebdf5e124b9b87e3d08312f7b8e4d6c387dc929/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73746162696c6974792d616c7068612d6f72616e67652e7376673f7374796c653d666c61742d737175617265)[![Packagist](https://camo.githubusercontent.com/050ebd7eadc713f0fdd5e8fe009b6f5e0ae8c0e146c4824a8a19f534b63e044f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f46614b656c6c65722f61726368696e737065632e7376673f6d61784167653d32353932303030267374796c653d666c61742d737175617265)](https://packagist.org/packages/FaKeller/archinspec)[![Travis](https://camo.githubusercontent.com/a3b3de08774ca265441a898de375f427c6202f6b01c3e2e6f4895392297ff29b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f46614b656c6c65722f61726368696e737065632e7376673f6d61784167653d32353932303030267374796c653d666c61742d737175617265)](https://travis-ci.org/FaKeller/archinspec)![Scrutinizer](https://camo.githubusercontent.com/c86f6f38d715e1ee6a2618ad814c8715b425c5bdd5d9ad3bfa59066ac377aea2/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f46614b656c6c65722f61726368696e737065632e7376673f6d61784167653d32353932303030267374796c653d666c61742d737175617265)

archinspec is a tool to help you maintain a great architecture for your application. You simply define how your architecture should look like and archinspec validates that it actually is as expected. If you use domain-driven design (DDD) or the [onion architecture](http://jeffreypalermo.com/blog/the-onion-architecture-part-1/) this tool will help you keep your application free from architecture violations!

> **WARNING**: the tool is still in development. Anything can change anytime. Oh, and there might be some bugs here and there :-)

Features
--------

[](#features)

TBD

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

[](#installation)

Simply install archinspec by adding it as a [composer](https://getcomposer.org/) dependency:

```
composer require fakeller/archinspec --dev

```

Usage
-----

[](#usage)

TBD

Configuration
-------------

[](#configuration)

TBD

Credits
-------

[](#credits)

This project would not be possible without the awesome [PhpDependencyAnalysis](https://github.com/mamuz/PhpDependencyAnalysis/) project by [Marco Muths](https://github.com/mamuz).

[Changelog](CHANGELOG.md)
-------------------------

[](#changelog)

See all changes made to this project in the [changelog](CHANGELOG.md). This project follows [semantic versioning](http://semver.org/).

[License](LICENSE)
------------------

[](#license)

This project is licensed under the terms of the [MIT license](LICENSE).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

3644d ago

PHP version history (2 changes)v0.0.1PHP &gt;=5.5

v0.0.3PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/760db17ba37993da10639d7c186fe460f2983d0f4e6c208cb26f4eb84a8136ce?d=identicon)[FaKeller](/maintainers/FaKeller)

---

Top Contributors

[![FaKleiser](https://avatars.githubusercontent.com/u/1327610?v=4)](https://github.com/FaKleiser "FaKleiser (56 commits)")

---

Tags

dependencystaticanalysisarchitecture

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fakeller-archinspec/health.svg)

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

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[mamuz/php-dependency-analysis

Static code analysis to find violations in a dependency graph

573108.5k65](/packages/mamuz-php-dependency-analysis)[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[phpmetrics/phpmetrics

Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !

2.6k14.5M299](/packages/phpmetrics-phpmetrics)[maglnet/composer-require-checker

CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package

99810.9M671](/packages/maglnet-composer-require-checker)[ta-tikoma/phpunit-architecture-test

Methods for testing application architecture

10745.9M13](/packages/ta-tikoma-phpunit-architecture-test)

PHPackages © 2026

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