vasconce7os / zf2Plugin

Plugin component for Zend Framework 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zf2Plugin

Plugin component for Zend Framework 2
Create your custom flexible plugins by zf2plugin

Available plugins

Zf2Plugin DataTable

What this can do?

  • Create plugin, like as you write a normal controller
  • MVC structure plugin
  • Each plugin can return an object(such as ViewModel)/rendered view/array/closure or anything else
  • Autoload plugins in all routes which you want
  • Define autoload plugins by pattern or by exact route-controller-action
  • Generate some dynamic html just by one line code

Where can I use this?

  • Create widgetized content
  • Create flexible dynamic content with your plugins
  • When you need reusable content
  • And you know ...

Requirements

PHP >= 5.3
ZendDeveloperTools (optional)

How this work?

Click here

Install

Just copy Zf2Plugins to your vendor and enable it.
There is "Sample" module as help in source code.
In plugin config file there is 'autoload-plugins' config that you can set each plugin, autoload in some modules or controllers or actions.
See wiki for begin to write a plugin.

Contact me

mb.rostami.h[at]gmail.com

About

Plugin component for Zend Framework 2

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 60.3%Language:HTML 39.7%