/phalcon-rest-edition

Phalcon Rest Api Edition Skeleton

Primary LanguagePHPOtherNOASSERTION

Phalcon Rest Edition

Author Build Status Software License

Getting started [ru] :: Vagrant :: Full Edition

This is a skeleton application written on phalcon framework with performance boost for build REST API service. This project created to develop applications in an easy way.

For current time project is under development, have fun :)

Features

  • Easy application bootstrapping
  • Console task support (provided by symfony/console)
  • Modules structure
  • Error handling (not found router, dispatcher exceptions)

How to install

Using Composer (recommended)

Best way to install skeleton would be Composer, if you didn't install it

Run code in the terminal:

composer create-project ovr/phalcon-rest-edition=dev-master /path/to/install

Using Git

First you need to clone the project, update vendors:

git clone https://github.com/ovr/phalcon-rest-edition.git ./project
cd project
composer update

Install vhost for your virtual server

cp ./docs/configs/nginx.phalcony.local.conf /etc/nginx/sites-enabled/you.host.conf

Don`t forget to edit nginx config and restart nginx:

nano /etc/nginx/sites-enabled/you.host.conf
sudo service nginx restart

Requirements

  • PHP 5.4 and up
  • Phalcon 2.0.0
  • Phalcony (latest)
  • PhalconEye/Framework (latest)

Online Demo

You can see online demo on http://phalcon-module.dmtry.me/.

License

This project is open-sourced software licensed under the MIT License. See the LICENSE file for more information.