Skip to content
Example project on using RESTful API with Zend Framework 1.11
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
application
docs
library
public
tests
README.md

README.md

README

This project provides a simple framework to serve RESTful functions using zend framework

Key Features

  • Authorization with 3scale based on app_id & app_key
  • XML & JSON friendly formatted responses

The project requires:

Setting Up Your VHOST

The following is a sample VHOST you might want to consider for your project.

<VirtualHost *:80>
   DocumentRoot "/var/www/zf-rest-example/public"
   ServerName api.yourdomain.com

   # This should be omitted in the production environment
   SetEnv APPLICATION_ENV development

   <Directory "/var/www/zf-rest-example/public">
       Options Indexes MultiViews FollowSymLinks
       AllowOverride All
       Order allow,deny
       Allow from all
   </Directory>

</VirtualHost>
Something went wrong with that request. Please try again.