crowdreactive/lob-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

crowdreactive/lob-bundle

最新稳定版本:2.0.0

Composer 安装命令:

composer require crowdreactive/lob-bundle

包简介

A Symfony bundle for the Lob.com PHP SDK

README 文档

README

Encapsulates Lob.com's PHP SDK in a Symfony bundle for configuration.

Bundled at CrowdReactive, makers of EventsTag.

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version SensioLabsInsight

Usage

  1. Install the bundle:

    composer require crowdreactive/lob-bundle
    
  2. Add it to AppKernel

    class AppKernel {
        public function registerBundles() {
            $bundles = [
                new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
                // ...
                new CrowdReactive\LobBundle\CrowdReactiveLobBundle(),
            ];
        }
    }
  3. Configuration

    crowd_reactive_lob:
        # Required
        api_key: abc123
    
        # Optional
        version: 1.5.0      # A specific version of the API
  4. Access the Lob service

    The Lob\Lob instance is named crowd_reactive_lob.lob in the dependency container. Access it with:

    $this->container->get('crowd_reactive_lob.lob');
    my_postal_service:
        class: My\PostalService
        arguments:
            -   "@crowd_reactive_lob.lob"

Contributing

PRs welcomed! Make sure to run the tests with composer run tests.

License

This bundle is under the MIT license. See the complete license.

统计信息

  • 总下载量: 5.42k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-11