GithubHelp home page GithubHelp logo

burzum / hexagonal-cake Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 49 KB

Hexagonal Architecture Application with CakePHP and a DIC - Could be used as a template in theory but for now its a learning project

License: MIT License

PHP 100.00%
ddd ddd-architecture ddd-example architectural-patterns cakephp cqrs-application hexagonal-architecture

hexagonal-cake's Introduction

Hexagonal Application Skeleton using CakePHP 3.6+

This is a pure learning project and proof of concept! NOT ready for production!

A hexagonal architecture is using ports and adapters to communicate and separate different layers of your application.

This application skeleton is trying to implement a hexagonal architecture using the goodies of the CakePHP framework.

Goals

  • Learning something about software architecture
  • Stay PSR compatible with all interfaces if possible
  • Follow php-pds
  • Using DI container
  • Use IoC where it makes sense
  • Typehint almost everything
  • Using a command bus (but no CQRS)

Installation

  • Clone the repository [email protected]:burzum/hexagonal-cake.git
  • Go into the folder cd hexagonal-cake
  • Run composer composer install
  • Copy config/app.default.php to config/app.php
  • Configure the database connection in your app.php
  • Point your web server config for the host you are using to the public folder
  • Done

Documentation

Check the docs folder of this repository.

Additional Libs besides CakePHP

Useful links

License

Copyright Florian Krämer

Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

hexagonal-cake's People

Contributors

burzum avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.