定制 bullhorn/fast-rest 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bullhorn/fast-rest

最新稳定版本:v2.0.0

Composer 安装命令:

composer require bullhorn/fast-rest

包简介

FastREST generates REST-ready models and controllers dynamically from a MySQL database schema, including foreign keys, table and column comments, and indexes.

README 文档

README

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();

统计信息

  • 总下载量: 7.91k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 25
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 25
  • Watchers: 45
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2015-09-21