This is my first approach to Hexagonal Architecture in frameworkless PHP.
Also known as "Ports and Adapters" Architecture.
This is a personal case of study, to improve my skills on OOP and software design.
The result is a mix of reading some articles and parts of books, watching videos and many headache.
Principally, is based on this kata http://matteo.vaccari.name/blog/archives/154.html
I'm sorry if there are some errors, but i'm learning.
- PHP >= 7.2.0
- Clone this repository.
- In the project root run
composer installfor install dependencies - From the command line into project root launch php -S 127.0.0.1:80 -t public/
- Go in the browser and open the url 127.0.0.1
- You can edit the public/assets/employee.txt set a birthday that match with today