f8bar / ZF2-Restful-Module-Skeleton

A Zend Framework 2 module skeleton that works with the RestfulController

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZF2 Restful Module Skeleton

This module skeleton provides foundation for working with the ZF2 Restful controller.

To learn how to setup Zend Framework 2 click here. Once setup, you can clone and place this skeleton under the "module/Main" folder. You will also have to change your project's config file (application.config.php) to include this module:

		...
		'modules' => array(
			...
			'Main',
			...
		),
		...
	

Example URI implementations included:

  • /info.json - Loads InfoController::getList() and renders through PostProcessor/Json.php

Suggestions

In an effort to make this module better, I encourage you to submit any API or REST related feature requests in the "Issues" section.

About

A Zend Framework 2 module skeleton that works with the RestfulController