Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
/ hex Public archive

Hex is a sandbox where I try stuff and learn about DDD, Hexagonal Architecture and CQRS/ES.

License

Notifications You must be signed in to change notification settings

marcaube/hex

Repository files navigation

Hex

Software License Build Status Coverage Status Quality Score Sensio Labs Insight

Hex is a sandbox where I try stuff and learn about DDD, Hexagonal Architecture, CQRS and Event Sourcing.

Domain

The problem I'm trying to model in Hex is a meeting room, for which employees can make reservations. The business rules are quite simple:

  • A meeting room has a limited capacity
  • Meetings cannot take place oustide business hours
  • Only one meeting can take place at the same time (no overlap)
  • Meeting duration cannot exceed 3h
  • Employees can make a reservation up to 7 days in advance
  • Employees can consult the meeting room schedule

Documentation

Here are succinct descriptions of concepts related to OOP, DDD, Hexagonal Architecture, CQRS and Event Sourcing. They are described as I understand them, illustrated with code examples.

Testing

$ ./vendor/bin/phpunit

# You can also give the tests a run for their money
$ ./vendor/bin/humbug

Credits

Hex takes inspiration and borrows a lot of ideas and code from some really awesome PHP projects:

License

The MIT License (MIT). Please see License File for more information.

About

Hex is a sandbox where I try stuff and learn about DDD, Hexagonal Architecture and CQRS/ES.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages