From https://katalyst.codurance.com/bags
After git clone execute Docker installation:
$ docker-compose up -d
Install php dependencies with PHP composer:
$ composer install
If we don't have in our machine the right php version (7.4) execute composer with follow flag:
composer install --ignore-platform-reqs
We can also install dependencies with:
docker exec -it bagskata composer install
To run tests:
$ docker-compose run phpunit tests
I have used a layer architecture based on Uncle Bob's clean one. At this moment, I have only implemented the first two layers (Core and Use Cases). For a complete implementation, I would use the following layers (Network, Entry points, etc.)
- Conceived with TDD.
- Git setted with git-flow.
- Working with PHP 7.4 with his beautiful typing.
- Factories inspired by Laravel framework.
Coded with