cnastasi / hd2f
Hack Domain Driven Framework.
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Hack
Requires (Dev)
- fzaninotto/faker: ~1.0
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ~4.0
- satooshi/php-coveralls: dev-master
This package is auto-updated.
Last update: 2024-12-18 02:29:43 UTC
README
HD2F
Hack Domain Driven Framework
Experimental Framework written in Hacklang and DDD (Domain Driven Design) approach.
I'm still studying DDD and Hack, so please help me and give me your contribute if I did something wrong.
As long there's no stable framework written full in hack and that there are a lot of other great php frameworks that works good on HHVM (like Laravel and Symfony), I do not want to rewrite a new one from the scratch and reinventing the wheel.
This why this can be called a "meta framework", a generic and abstract framework written in hack that can be extended using a php full working framework.
Every modern framework have a router, a dependency injection container, some "controller", a serializator. This is basically a standard flow for a rest api.
This framework abstract this flow and allow then to write a full hack code without reimplements a new framework.
Installation
composer require cnastasi/hd2f:dev-master
Usage
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
History
TODO: Write history
Credits
TODO: Write credits
License
TODO: Write license