cayetanosoriano/karmacracy-bundle
Composer 安装命令:
composer require cayetanosoriano/karmacracy-bundle
包简介
wrapper for karmacracy lib
关键字:
README 文档
README
This Bundle, gives a wrapper to karmacracy-php API lib
Installation
Symfony 2.0.x: vendors
[karmacracyBundle]
git=http://github.com/CayetanoSoriano/karmacracyBundle.git
target=/bundles/RaulFraile/Bundle/LadybugBundle
[karmacracy-php]
git=https://github.com/CayetanoSoriano/karmacracy-php.git
target=lib/
Symfony 2.1.x: Composer
Composer is a project dependency manager for PHP. You have to list
your dependencies in a composer.json file:
{
"require": {
"cayetanosoriano/karmacracy-bundle": "dev-master"
}
}
To actually install in your project, download the composer binary and run it:
wget http://getcomposer.org/composer.phar
# or
curl -O http://getcomposer.org/composer.phar
php composer.phar install
Step 2: Enable the bundle
Finally, enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new cayetanosoriano\KarmacracyBundle\cayetanosorianoKarmacracyBundle(), ); }
Configuration
###Add the following to your config.yml
cayetanosoriano_karmacracy:
keypass: "your_key_pass"
appkey: "your_app_key"
Then use the service
$kcy = $this->get('kcy');
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-27