A Zend Framework 2 module skeleton that works with the RestfulController
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
configs
src/Main
Module.php
README.md
autoload_classmap.php
autoload_function.php
autoload_register.php

README.md

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.