Skip to content

Architecture Test Example for Independent core layer pattern

License

Notifications You must be signed in to change notification settings

kawanamiyuu/independent-core-layer-architecture-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Architecture Test Example for Independent core layer pattern

What is Independent core layer pattern

Architecture Tests

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

Run tests

$ php deptrac.phar analyze depfile.yaml
$ php deptrac.phar analyze depfile-core.yaml
$ php deptrac.phar analyze depfile-service.yaml

or

$ composer deptrac

PHP Architecture Tester is a static analysis tool to verify architectural requirements.

It provides a natural language abstraction to define your own architectural rules and test them against your software. You can also integrate phpat easily into your toolchain.

Run tests

$ ./vendor/bin/phpat phpat-core.yaml
$ ./vendor/bin/phpat phpat-serivce.yaml

or

$ composer phpat

About

Architecture Test Example for Independent core layer pattern

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • PHP 97.1%
  • Blade 1.5%
  • Other 1.4%