toin0u/cakephp-yo
Composer 安装命令:
composer require toin0u/cakephp-yo
包简介
Yo plugin for CakePHP 3.x
README 文档
README
This is a very simple plugin which allow to use the Yo libary.
Installation
$ composer require 'toin0u/cakephp-yo:dev-master'
Configuration
Add your Yo API key in yout app.php.
// ... 'Yo' => [ 'apiKey' => 'as636bf1-94hs-4t62-9g1k-5feb42ccfde4', ], // ...
Then add the following line in your initialize method in AppController or in a specific controller.
$this->loadComponent('Yo.Yo');
API
This plugin allows you to create a \Yo\Yo instance by calling:
$yo = $this->Yo->createYo();
Please check the documentation in the library to read more.
Tests
WIP
License
This package is released under the MIT License. See the bundled LICENSE file for details.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-02