php-ddd-example
unit-testing-tips
Our great sponsors
php-ddd-example | unit-testing-tips | |
---|---|---|
2 | 8 | |
2,901 | 1,096 | |
0.9% | - | |
7.1 | 5.1 | |
21 days ago | 3 months ago | |
PHP | HTML | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
php-ddd-example
- Hexagonal Architecture, DDD and CQRS in PHP
-
DDD / Hexagonal Architecture
Have a look at https://symfonycasts.com/screencast/symfonycon2019/hexagonal-architecture-with-symfony (and all resources from Matthias Noback including books, tweets and blogposts). Also check: - https://github.com/CodelyTV/php-ddd-example - https://github.com/msgphp/msgphp - https://minompi.medium.com/symfony-and-hexagonal-architecture-b3c4704e94de- https://blog.elao.com/fr/dev/architecture-hexagonale-symfony/ (needs to be translated from french, but really good one). - https://verraes.net/ (and all resources/tweets/blogposts from Mathias Verraes who has really good knowledge on DDD topics)
unit-testing-tips
- Need Help for writing test, especially about PHPUNIT
-
Self Improvement
I'd recommend you learn TDD, which is IMO an unvalued technique, but a very important one. You can check my tips for testing: https://github.com/sarven/unit-testing-tips there are also provided two very good books that will boost your knowledge about testing practices.
-
Unit testing tips by examples in PHP
https://github.com/sarven/unit-testing-tips#mock-vs-stub
What are some alternatives?
ddd-laravel-sample - A Laravel DDD sample application using CQRS and persisting entities serialized without ORM
bref - Serverless PHP on AWS Lambda
laravel-route-attributes - Use PHP 8 attributes to register routes in a Laravel app
Functional-core-imperative-shell - Functional core imperative shell
monorepo-split-github-action - Github Action for Monorepo Split
Codeception - Full-stack testing PHP framework
explicit-architecture-php - This repository is a demo of Explicit Architecture, using the Symfony Demo Application.
Lift-Kata - starting position for the Lift Kata with an Approval Testing approach
msgphp - Reusable domain layers. Shipped with industry standard infrastructure.
GildedRose-Refactoring-Kata - Starting code for the GildedRose Refactoring Kata in many programming languages.
Prooph Service Bus - PHP Lightweight Message Bus supporting CQRS.
TestIt - Generate unit testing boilerplate from kotlin files.