Skip to content

valantic-CEC-Deutschland-GmbH/spryker_deptrac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spryker Deptrac Configuration for Architectural Enforcement

This repository provides a deptrac.yaml configuration file designed to enforce architectural rules within Spryker projects using Deptrac. Deptrac is a static code analysis tool that helps maintain a clean and manageable codebase by detecting violations of predefined architectural principles.

What is Deptrac?

Deptrac analyzes dependencies between different parts of your application (layers) and ensures they adhere to defined rules. This configuration helps enforce Spryker's recommended architectural patterns.

Benefits of using Deptrac with Spryker:

  • Enforces Spryker's architectural best practices: Promotes separation of concerns and well-defined module boundaries.
  • Prevents architectural drift: Detects unwanted dependencies, ensuring long-term maintainability.
  • Improves code understanding: Highlights potential dependency issues and facilitates better comprehension of code structure.

How to Use Deptrac with Spryker:

  1. Composer install deptrac: composer require valantic-spryker-eco/deptrac --dev
  2. Run deptrac -c vendor/valantic-spryker-eco/deptrac/deptrac.yaml to analyze your project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published