Download the PHP package backendtea/architect without Composer
On this page you can find all versions of the php package backendtea/architect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download backendtea/architect
More information about backendtea/architect
Files in backendtea/architect
Package architect
Short Description Architectural checks for your codebase
License MIT
Informations about the package architect
Architect
Architect helps enforce architectural decisions in your PHP projects.
For example, you can enforce that the src/
folder does not use the test/
folder,
or you can enforce a layered architecture, where you split up your code in a Domain
, Application
,
and Infrastructure
layer, where layers can only have dependencies inward.
Architect is currently very much in beta, so any provided feedback is really helpful.
Installation
Usage
Config
Architect uses a php config file, by default it uses architect.php
in the current directory.
You can pass another file with the -c
flag if so desired.
A basic configuration file, which checks the src
and tests
folder files,
and has the layered architecture
and no src to test
rulesets.
Running Architect
When you have a configuration, you can run architect with:
All versions of architect with dependencies
symfony/console Version ^6.4||^7.1
symfony/finder Version ^6.4||^7.1
roave/better-reflection Version ^6.25
nikic/php-parser Version ^4.18|^5.1
symfony/filesystem Version ^6.4||^7.1
psr/container Version ^2.0