2017 © Pedro Peláez
 

library events

Zend Framework 2 Events Module

image

pchela/events

Zend Framework 2 Events Module

  • Monday, August 22, 2016
  • by pchela
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Zend Framework 2 Events Module

Requirements

  • database
  • PHP Version >= 5.4.28
  • PHP intl extension

Installation

$ cd DIR_PROJECT
$ composer require pchela/events:dev-master

Setup

Fill the specified db parameters, (*1)

//DIR_PROJECT/config/autoload/local.php

return array(
    'doctrine' => array(
        'connection' => array(
            // default connection name
            'orm_default' => array(
                'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
                'params' => array(
                    'host' => 'DBHOST', 
                    'port' => 'DBPORT',
                    'user' => 'DBUSER',
                    'password' => 'USERPASSWORD',
                    'dbname' => 'DBNAME',
                )
            )
        )
    ),
);

Enable modules in application.config.php, (*2)

return array(
  'modules' => array(
      // other modules
        'DoctrineModule',
        'DoctrineORMModule',
        'Events',
  ),
  // other content
);

Create db schema, (*3)

$ cd DIR_PROJECT
$ php vendor/bin/doctrine-module orm:schema-tool:create

Usage

http://your-domain.app/events, (*4)

The Versions

22/08 2016

dev-master

9999999-dev https://github.com/pchela/Events

Zend Framework 2 Events Module

  Sources   Download

MIT

The Requires

 

events zf2

16/12 2015

dev-develop

dev-develop https://github.com/pchela/Events

Zend Framework 2 Events Module

  Sources   Download

MIT

The Requires

 

events zf2