PHP/Laravel developer focused on code quality and software architecture. I enjoy building static analysis tools to understand and measure the quality of PHP applications.
- php-smelly-code-detector โ Detects code smells by assessing complexity to identify potentially problematic code.
- php-class-dependencies-analyzer โ Monitor the dependencies and instability of your classes.
- php-wording-detector โ Analyze and split the words contained in your code to check your DDD approach.
- php-arguments-detector โ Keep control over the complexity of your methods by checking their number of arguments.
- php-git-insights-analyzer โ Analyze the Git history of your PHP files.
- php-variable-lifetime-analyzer โ Track your variables' lifetime to encourage shorter scopes.
- php-line-length-detector โ A simple way to analyze the line length of your PHP files.
๐ Documentation for these tools: php-quality-tools.com
A complete toolchain to explore the dependency graph of a PHP codebase:
- php-dep โ Static analyzer that maps class dependency relationships across your project.
- php-dep-dashboard โ A web dashboard to visualize class dependencies, coupling metrics, and instability scores.
- php-dep-louvain โ Detect class communities in a dependency graph using the Louvain algorithm.
- Manager โ Implementation of the Manager pattern existing in the Laravel framework.
- laravel-rapid-bind โ Quickly and easily create singletons in the Laravel container.
Small, focused repositories exploring architecture and testing concepts:
- archi-event-bus โ An Event Bus demonstrating decoupled communication between Bounded Contexts via Domain Events.
- aggregate-entity-valueobject โ Differentiate the concepts of aggregate, entity, and value object.
- dummy-stub-spy-mock โ Differentiate the types of test doubles in PHP.
- interface-testing โ How to test an interface with PHPUnit.
- php-easy-breaker โ A PHP implementation of the circuit breaker pattern.
Applying academic algorithms to everyday problems:
- algo-louvain-php โ A PHP implementation of the Louvain community detection algorithm.
- GirvanNewman โ A PHP implementation of the Girvan-Newman community detection algorithm.
- MyersInspector โ Code inspection based on the Myers diff algorithm.
- php-rasch โ The Rasch model (item response theory) implemented in PHP.
- claude-game-refactor-plugin โ Claude Code plugin that turns a single-file HTML/CSS/JS game prototype into a split, tested and documented codebase.
- cursor-mdc-rules โ Cursor rules for writing clear, readable, and maintainable PHP code.






