prawee/yii2-gae-api
Composer 安装命令:
composer create-project prawee/yii2-gae-api
包简介
Create RESTFul for deploy on Google App Engine with Yii2
README 文档
README
Create RESTFul for deploy on Google App Engine (Standard Environment) with Yii2
Support
- response both xml and json format
- make versioning
- using .env file between server and local
- using memcache via app-engine
Installation
git clone https://github.com/prawee/yii2-gae-api
cd yii2-gae-api
composer install
Configuration
Update environment variable for your local
cp .env.dist .env
Update environment variable for your GAE
cp app.yaml.dist app.yaml cp cron.yaml.dist cron.yaml
Update configure on your local
cp config/main-local.php.dist config/main-local.php
Running
localhost
php -S localhost:8080 -t public
localhost with google app engine
dev_appserver.py app.yaml
Look
# local
GET localhost:8080/requirements.php
GET localhost:8080/site
GET localhost:8080/v1/users
# gae GET https://<project-id>.appspot.com/requirements.php GET https://<project-id>.appspot.com/site GET https://<project-id>.appspot.com/v1/users
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-19