ziadoz / awesome-php

A curated list of amazingly awesome PHP libraries, resources and shiny things.
Do What The F*ck You Want To Public License
30.79k stars 5.06k forks source link

Add Deptrac to Static Analysis #1022

Closed pdelre closed 4 years ago

pdelre commented 4 years ago

https://github.com/sensiolabs-de/deptrac

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

For example, you can define a rule like "controllers may not depend on models". To ensure this, deptrac analyzes your code to find any usages of models in your controllers and will show you where this rule was violated.

ziadoz commented 4 years ago

Thanks.