Skip to content

bullhorn/fast-rest

Repository files navigation

Bullhorn FastREST

Build Status

Contribute

There are many ways to contribute to Bullhorn FastREST.

(Internal) Before Committing

  • Make sure to write unit tests for any new code.
  • Run all unit tests, fix any errors.
  • Push
  • Submit Pull Request

Documentation

Requirements

Prerequisite packages are:

  • Phalcon >2.0
  • Database must be MySQL
  • All table column names must adhere to /^[a-zA-Z0-9\_]+$/

Examples

Installation

Installing via Composer

Install composer in a common location or in your project:

curl -s http://getcomposer.org/installer | php

Create the composer.json file as follows:

{
    "require": {
        "bullhorn/fast-rest": "dev-master"
    }
}

Run the composer installer:

php composer.phar install

Installing via GitHub

Just clone the repository in a common location or inside your project:

git clone https://github.com/bullhorn/fast-rest.git

Autoloading from the Incubator

Add or register the following namespace strategy to your Phalcon\Loader in order to load classes from the incubator repository:

$loader = new Phalcon\Loader();

$loader->registerNamespaces(array(
     'Bullhorn\\FastRest' => '/path/to/bullhorn/fast-rest/Library/'
));

$loader->register();

About

A Bullhorn Platform SDK tool. Automatically generate a PHP REST API from a database schema.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages