free as in freedom free software zend framework 2 locator generator module
PHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
migration
src/NetBazzlineZfLocatorGenerator
test
.gitignore
.scrutinizer.yml
.travis.yml
LICENSE
Module.php
README.md
autoload_classmap.php
autoload_function.php
autoload_register.php
composer.json
phpunit.xml.dist

README.md

Locator Generator Module for Zend Framework 2

This free as in freedom module should easy up the usage of the locator generator component in the zend framework 2 in a zend framework 2 application.

It is based on the skeleton zf2 module and phly_contact. Thanks also to the skeleton application.

The build status of the current master branch is tracked by Travis CI: Build Status Latest stable

The scrutinizer status are: code quality | build status

The versioneye status is: dependencies

Downloads: Downloads this Month

It is also available at openhub.net.

Check out the demo environment if you want to see it in action.

Backport for Zend Framework 2.2 / Debian 6

There is a backport available for debian 6 and its zend framework 2.2 limiting php version.

Backport for Zend Framework 2.4 / Debian 7

There is a backport available for debian 7 and its zend framework 2.4 limiting php version.

Example

# generate one locator
php public/index.php net_bazzline locator generate <locator_name>

# generate all available locators
php public/index.php net_bazzline locator generate

# list all available locators
php public/index.php net_bazzline locator list

Install

By Hand

mkdir -p vendor/net_bazzline/zf_locator_generator
cd vendor/net_bazzline/zf_locator_generator
git clone https://github.com/bazzline/zf_locator_generator

With Packagist

"net_bazzline/zf_locator_generator": "dev-master"

Usage

  • adapt your application.config.php and add “ZfLocatorGenerator” into the “modules” section
<?php
return array(
    'modules' => array(
        'Application',
        'NetBazzlineZfLocatorGenerator'
    ),
    //...
  • use zflocatorgenerator.global.php.dist as base
  • copy this file into your config/autoload directory
  • open this file and adapt it to your needs
  • depending on the locator configuration, add it as invokable or by using a factory to your service manager configuration

Migration

History

  • upcomming
    • @todo
      • refactor controller to prevent injecting the whole configuration
    • removed dead code in unit test
  • 1.5.3 - released at 17.08.2016
    • updated dependency
  • 1.5.2 - released at 18.11.2015
    • updated dependency
  • 1.5.1 - released at 28.08.2015
    • updated dependency
  • 1.5.0 - released at 11.07.2015
    • moved documentation to bazzline.net
    • moved to new module Namespace "NetBazzlineZfLocatorGenerator"
    • removed document section
  • 1.4.3 - released at 11.07.2015
    • updated dependency
  • 1.4.2 - released at 04.07.2015
    • updated dependency
  • 1.4.1 - released at 05.06.2015
    • fixed broken unit test
    • updated dependency
  • 1.4.0 - released at 05.06.2015
  • 1.3.4 - released at 22.05.2015
    • updated dependencies
  • 1.3.3 - released at 08.02.2015
    • updated dependencies
  • 1.3.2 - released at 08.02.2015
    • updated dependencies
  • 1.3.1 - released at 08.02.2015
    • removed apigen dependency
  • 1.3.0 - released at 08.02.2015
    • fixed dependencie issue
  • 1.2.0 - released at 07.02.2015
  • 1.1.1 - released at 22.12.2014
    • updated dependencies
    • added documentation @todo - add link
    • added migration
    • added link to debian 6 / zend framework 2.2 backport
    • updated php_component_locator_generator to version 1.3.0
  • 1.1.0 - released at 21.09.2014
    • prefixed console commands with "net_bazzline" to not pollute the available command environment
  • 1.0.1 - released at 13.09.2014
    • fixed links in readme
    • fixed namespace issue in test
    • added usage of zf console helper
    • updated dependencies
    • updated usage
  • 1.0.0 - released at 07.09.2014
    • initial release