yoghi/madda

Model And Domain Driven Architecture

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:application

dev-analysis-XNdNn4 2016-09-11 20:37 UTC

This package is not auto-updated.

Last update: 2021-04-17 00:35:23 UTC


README

Author Code Climate Code Climate Coverage Coverage Status Codecov VersionEye Scrutinizer Code Quality Build Status license

Model And Domain Driven Architecture

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

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.)

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

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.