/ZfcBase

A set of generic (abstract) classes which are commonly used across multiple modules. (Formerly EdpCommon)

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

ZfcBase

Version 0.0.1 Created by Evan Coury and the ZF-Commons team

Build Status

Introduction

ZfcBase provides a suite of common classes used across several ZF2 modules. You probably don't need to install this module unless either A) you are installing a module that depends on ZfcBase, or B) you are building a module that depends on ZfcBase.

Requirements

  • Zend Framework 2

Installation

Simply clone this project into your ./vendor/ directory and enable it in your ./config/application.config.php file.

Provided Classes

  • ZfcBase\Mapper\AbstractDbMapper - An abstract mapper for Zend\Db that makes using hydrators and custom entities very simple.
  • ZfcBase\Form\ProvidesEventsForm - Extends Zend\Form and provides the functionality of ZfcBase\EventManager\EventProvider (basically it's a crutch since we can't use traits yet).
  • ZfcBase\EventManager\EventProvider - Abstract class that gives extending classes an event manager and related methods.