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
Contribute
There are many ways to contribute to Bullhorn FastREST.
- Submit bugs and help us verify fixes as they are checked in.
- Review source code changes.
- Contribute bug fixes.
(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
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2015-09-21