2017 © Pedro Peláez
 

application madda

Model And Domain Driven Architecture

image

yoghi/madda

Model And Domain Driven Architecture

  • Sunday, September 11, 2016
  • by yoghi
  • Repository
  • 2 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

madda

Author Code Climate Code Climate Coverage Coverage Status Codecov VersionEye Scrutinizer Code Quality Build Status license, (*1)

Model And Domain Driven Architecture, (*2)

Requirements

  • Symfony 3.0+
  • at least php 5.6.8
  • justinrainbow/json-schema 1.6 (need from php-raml-parser -> blocked by)

Installation

composer install yoghi/madda

Todo

  • [X] Packagist
  • [X] Codecov
  • [X] Coveralls
  • [X] VersionEye -> controllo degli aggiornamenti delle dipendeze
  • [X] Scrutinizer-ci
  • [X] 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 to controller
  • [ ] DomainDrivenDesign yaml descriptor to pojo and structural element
  • [ ] integration with existing bus system (for event propagation)
  • [ ] Contrib Guide

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

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

a livello di php va installato xdebug, (*4)

phpbrew ext install xdebug stable

configurato:, (*5)

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

edit del file xdebug.ini sotto la riga "zend_extension=....", (*6)

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., (*7)

phpbrew ext disable xdebug
phpbrew ext enable xdebug

info :, (*8)

phpbrew ext show xdebug

Contributing

Pull requests are welcome. Please see our CONTRIBUTING guide., (*9)

Unit and/or functional tests exist for this bundle. See the Testing documentation for a guide to running the tests., (*10)

Thanks to everyone who has contributed already., (*11)

The Versions