Enforce architecture rules with Deptrac

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Deptrac

    Keep your architecture clean.

  • Deptrac

  • collections

    Collections Abstraction Library

  • Theoretically, our domain should only contain pure PHP code without any external dependencies. Nonetheless, there are some libraries that we want to use in our domain, such as ramsey/uuid to generate UUIDs, or brick/math to work safely with numbers. Another usual example of an allowed external library in our domain is doctrine/collections when we use Doctrine as an ORM, because the relationships between entities must be of type Doctrine\Common\Collection.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • PHP Architecture Tester

    PHP Architecture Tester - Easy to use architectural testing tool for PHP :heavy_check_mark:

  • PHP Architecture Tester (as a PHPStan plugin)

  • arkitect

    Put your architectural rules under test!

  • PHPArkitect

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts