Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpunit Architecture Test Laravel Package

ta-tikoma/phpunit-architecture-test

Architecture testing for PHP projects using PHPUnit. Define and enforce dependency, namespace, and layer rules (e.g., no forbidden coupling, keep domains isolated) and catch architectural violations in CI with fast, expressive tests.

Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Excellent alignment with Laravel's MVC structure; enables enforcing layer separation (e.g., controllers ↔ services, repository patterns), namespace constraints, and dependency rules via PHPUnit assertions. Complements Laravel's existing test-driven workflow without framework-specific modifications.
  • Integration feasibility: High; Composer-based installation, integrates seamlessly with Laravel's phpunit.xml and test suites. Minimal configuration required to define custom rules (e.g., ArchitectureTest::classes(), inNamespace()).
  • **Technical risk
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport