Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Hexagonal [WIP]

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.

Requirements

  • PHP >= 7.2.0

Getting Started

  1. Clone this repository.
  2. In the project root run composer install for install dependencies
  3. From the command line into project root launch php -S 127.0.0.1:80 -t public/
  4. Go in the browser and open the url 127.0.0.1
  5. You can edit the public/assets/employee.txt set a birthday that match with today

About

PHP frameworkless approach to Hexagonal Architecture

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages