PHPackages                             cnastasi/hd2f - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. cnastasi/hd2f

ActiveLibrary[Framework](/categories/framework)

cnastasi/hd2f
=============

Hack Domain Driven Framework.

011Hack

Since Oct 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/cnastasi/HD2F)[ Packagist](https://packagist.org/packages/cnastasi/hd2f)[ RSS](/packages/cnastasi-hd2f/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/f5863a0c7e5befcc58d0a6b535e01daa32fcc81b71af020586ae2d49479505e2/68747470733a2f2f7472617669732d63692e6f72672f636e6173746173692f484432462e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cnastasi/HD2F)

HD2F
====

[](#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
------------

[](#installation)

`composer require cnastasi/hd2f:dev-master`

Usage
-----

[](#usage)

Contributing
------------

[](#contributing)

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

History
-------

[](#history)

TODO: Write history

Credits
-------

[](#credits)

TODO: Write credits

License
-------

[](#license)

TODO: Write license

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/10b75e2cb39cb0beafd94238c476a67ea60b23b102eb66d5068138a1114baa08?d=identicon)[cnastasi](/maintainers/cnastasi)

---

Top Contributors

[![cnastasi](https://avatars.githubusercontent.com/u/2204693?v=4)](https://github.com/cnastasi "cnastasi (26 commits)")

### Embed Badge

![Health badge](/badges/cnastasi-hd2f/health.svg)

```
[![Health](https://phpackages.com/badges/cnastasi-hd2f/health.svg)](https://phpackages.com/packages/cnastasi-hd2f)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
