This project is based on the work of Valentina Cupać : banking-kata-java
I just wanted to make the same example in a php symfony project.
This project illustrates TDD & Clean Architecture implementation in Symfony, showing the Use Case Driven Development Approach.
We implement a Banking system with the following use cases:
- Open account
- Withdraw funds
- Deposit funds
- View account
- If not already done, install Docker Compose
- Run
docker compose build --pull --no-cache
to build fresh images - Run
docker compose up
(the logs will be displayed in the current shell) - Run tests using
docker compose php vendor/bin/simple-phpunit
- Run
docker compose down --remove-orphans
to stop the Docker containers.