定制 albertski/experient-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-29