albertski/experient-bundle
最新稳定版本:1.0.1
Composer 安装命令:
composer require albertski/experient-bundle
包简介
A Symfony2 bundle for using the Experient API
关键字:
README 文档
README
Used for Symfony2 project to use the Experient SOAP API.
Installation
Get the bundle with composer by running this command at the root of your symfony project.
composer require albertski/experient-bundle
Enable the bundle
To start using the bundle, register the bundle in your application's kernel class:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new ExperientBundle\ExperientBundle(),
// ...
);
}
Configuration
Edit app/config/config.yml.
experient:
username: %experient.username%
password: %experient.password%
showcode: %experient.showcode%
accountDomain: %experient.accountDomain%
wsdl: %experient.wsdl%
namespace: %experient.namespace%
Edit parameters.yml. Add parameters and add the parameter values.
parameters:
.....
.....
experient.username:
experient.password:
experient.showcode:
experient.accountDomain:
experient.wsdl:
experient.namespace:
Usage
You now have access to the experient service.
// In a controller
$experient = $this->get('experient');
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-29