inditel/zend-skeleton-application

Inditel skeleton Application for ZF2

dev-master 2013-06-21 00:52 UTC

This package is not auto-updated.

Last update: 2024-04-22 12:08:34 UTC


README

Integrated modules:

Installing project

  • Start composer project
  • Load inditel/zend-skeleton-application

Setting up local development environment

Add this line to your apache config

    SetEnv "APP_ENV" "development"

If you want to test staging, testing or production, update .htaccess file. Uncomment # SetEnv "APP_ENV" "development" Be careful not to commit with it!

To start unit testing (PHPStorm)

  • Open project settings -> PHP -> PHPUnit. Set "Use custom loader" and choose vendor/autoload.php file.

  • Open Run/Debug Configurations

  • Add new PHPUnit configuration
  • Add name
  • Select "Defined in the configuration file"
  • Check "Use alternative configuration file"
  • Choose module/YOUR_MODULE/test/phpunit.xml

Generating doctrine entities

  • Check doctrine-gen.php
  • Run doctrine-gen.php