PHPackages                             vladitot/arch-inspector - 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. vladitot/arch-inspector

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

vladitot/arch-inspector
=======================

A toolset for architecture check for php applications

v0.0.3(1y ago)010.0k↓16.7%PHPPHP ^8.1CI passing

Since Feb 2Pushed 1y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

[![codecov](https://camo.githubusercontent.com/50597fc54e6af80b66077847fd7e99baff831387835c600b9b8874317b985453/68747470733a2f2f636f6465636f762e696f2f67682f766c616469746f742f617263682d696e73706563746f722f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d3551484b4c4e54464c43)](https://codecov.io/gh/vladitot/arch-inspector)

🏛 Arch Inspector (Archi)
========================

[](#-arch-inspector-archi)

**Arch Inspector**, or simply **Archi**, is a PHP architecture rules checker.
It helps you describe architectural rules for your project and enforce them across the team.

---

🔧 Features
----------

[](#-features)

- Define architectural rules in plain PHP.
- Automatically check your codebase against those rules.
- Easily integrate into your CI/CD pipeline.
- Simple to use and highly extensible.

---

🚀 Quick Start
-------------

[](#-quick-start)

### 1. Install Archi

[](#1-install-archi)

Globally:

```
composer global require vladitot/arch-inspector
```

Or locally in your project:

```
composer require --dev vladitot/arch-inspector
```

### 2. Create the configuration file

[](#2-create-the-configuration-file)

Create a file named `archi.php` in the root of your project:

```
