PHPackages                             yoghi/madda - 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. yoghi/madda

ActiveApplication[Framework](/categories/framework)

yoghi/madda
===========

Model And Domain Driven Architecture

00PHP

Since Sep 11Pushed 9y ago2 watchersCompare

[ Source](https://github.com/yoghi/madda)[ Packagist](https://packagist.org/packages/yoghi/madda)[ RSS](/packages/yoghi-madda/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

madda
=====

[](#madda)

[![Author](https://camo.githubusercontent.com/9387b103c7b3191f28dc270c6c4e8166bdf504fa71a05e586f97d94f60c59f2c/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d40796f6768692d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/yoghi)[![Code Climate](https://camo.githubusercontent.com/a903fbb737fc1b7be503b14357a8f597a10465e826951bd581c19e4ce128d733/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f796f6768692f6d616464612f6261646765732f6770612e737667)](https://codeclimate.com/github/yoghi/madda)[![Code Climate Coverage](https://camo.githubusercontent.com/25b8aba878a80e053c6633c257e0ca063a9eeecbc0dc378c1ef70c34c2f9c597/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f796f6768692f6d616464612f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/yoghi/madda/coverage)[![Coverage Status](https://camo.githubusercontent.com/92b9c02ddecb3ed1228f856f0303ba24755b14c8614e4dfe4d3cc44a3272e624/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f796f6768692f6d616464612f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/yoghi/madda?branch=master)[![Codecov](https://camo.githubusercontent.com/a5cbca25e60c237b40cf23e1c1122adb4bf4babe26846f04bad901c7b605abe0/68747470733a2f2f636f6465636f762e696f2f67682f796f6768692f6d616464612f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/yoghi/madda)[![VersionEye](https://camo.githubusercontent.com/9435a47314887098eeed75c7f6a49c6b045e096216ae9d08a078a8b29505518f/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3537353963653366373735376130303033626434626430662f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/5759ce3f7757a0003bd4bd0f)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9696663f64b54cea289900868c597fc71961772374115f67d7ede161da74665a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f796f6768692f6d616464612f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/yoghi/madda/?branch=master)[![Build Status](https://camo.githubusercontent.com/79744bedfa21d9524ca9f2226c7c8a4f361dfe2191a4dab828dfb49640ff62f2/68747470733a2f2f7472617669732d63692e6f72672f796f6768692f6d616464612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yoghi/madda)[![license](https://camo.githubusercontent.com/983e18f7661248523d80b397f15034b6cdd0431cdbfbdd69f30be94483ef8331/68747470733a2f2f696d672e736869656c64732e696f2f6175722f6c6963656e73652f79616f7572742e7376673f6d61784167653d32353932303030267374796c653d666c6174)](https://github.com/yoghi/madda/blob/master/LICENSE)

Model And Domain Driven Architecture

Requirements
------------

[](#requirements)

- Symfony 3.0+
- at least php 5.6.8
- justinrainbow/json-schema 1.6 (need from php-raml-parser -&gt; [blocked by](https://github.com/alecsammon/php-raml-parser/pull/104))

Installation
------------

[](#installation)

```
composer install yoghi/madda

```

Todo
----

[](#todo)

- [Packagist](https://packagist.org)
- [Codecov](https://codecov.io/)
- [Coveralls](https://coveralls.io/github/yoghi/madda)
- [VersionEye](https://www.versioneye.com) -&gt; controllo degli aggiornamenti delle dipendeze
- [Scrutinizer-ci](https://scrutinizer-ci.com)
- badge licenza
- git tag -a 1.0.0
- changelog / release workflow
- aggiungere la capacita di applicare php-cs-fixer alla fine di una generazione
- wiki
- faq
- [raml](http://raml.org) to controller
- DomainDrivenDesign yaml descriptor to pojo and structural element
- integration with existing bus system (for event propagation)
    - [Symfony](http://symfony.com/)
    - [Prooph](https://github.com/prooph)
    - [SimpleBus/MessageBus](https://github.com/SimpleBus/MessageBus)
    - [Broadway](https://github.com/qandidate-labs/broadway)
    - [Tactician](http://tactician.thephpleague.com/)
- Contrib Guide

clean code
----------

[](#clean-code)

```
phpcbf **/*.php --standard=PSR2
bin/parallel-lint --exclude app --exclude vendor .
bin/phpcs --colors -wp src --report=summary --standard=PSR2,phpcs.xml
bin/phpunit --coverage-php tests/coverage/phpunit.cov tests
bin/phpspec run --format=pretty --no-code-generation

```

Debug
-----

[](#debug)

con atom si deve configurare la porta di ascolto (via cson o settings normale.)

a livello di php va installato xdebug

```
phpbrew ext install xdebug stable

```

configurato:

```
cd ~/.phpbrew/php/var/db/

```

edit del file **xdebug.ini** sotto la riga "zend\_extension=...."

```
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1    # Not safe for production servers
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_autostart=true

```

tenerlo abilitato significa rallentare, quindi conviene attivarlo solo quando serve.

```
phpbrew ext disable xdebug
phpbrew ext enable xdebug

```

info :

```
phpbrew ext show xdebug

```

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

[](#contributing)

Pull requests are welcome. Please see our CONTRIBUTING guide.

Unit and/or functional tests exist for this bundle. See the Testing documentation for a guide to running the tests.

Thanks to everyone who has contributed already.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.7% 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://avatars.githubusercontent.com/u/226824?v=4)[Stefano Tamagnini](/maintainers/yoghi)[@yoghi](https://github.com/yoghi)

---

Top Contributors

[![yoghi](https://avatars.githubusercontent.com/u/226824?v=4)](https://github.com/yoghi "yoghi (75 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

### Embed Badge

![Health badge](/badges/yoghi-madda/health.svg)

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M840](/packages/laravel-socialite)[laravel/dusk

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

1.9k38.6M289](/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)
