2017 © Pedro Peláez
 

library lob-bundle

A Symfony bundle for the Lob.com PHP SDK

image

crowdreactive/lob-bundle

A Symfony bundle for the Lob.com PHP SDK

  • Thursday, February 11, 2016
  • by rmasters
  • Repository
  • 4 Watchers
  • 0 Stars
  • 2,978 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

Lob.com Symfony Bundle

Encapsulates Lob.com's PHP SDK in a Symfony bundle for configuration., (*1)

Bundled at CrowdReactive, makers of EventsTag., (*2)

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version SensioLabsInsight, (*3)

Usage

  1. Install the bundle:, (*4)

    composer require crowdreactive/lob-bundle
    
  2. Add it to AppKernel, (*5)

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

    crowd_reactive_lob:
        # Required
        api_key: abc123
    
        # Optional
        version: 1.5.0      # A specific version of the API
    
  4. Access the Lob service, (*7)

    The Lob\Lob instance is named crowd_reactive_lob.lob in the dependency container. Access it with:, (*8)

    $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., (*9)

License

This bundle is under the MIT license. See the complete license., (*10)

The Versions

11/02 2016

dev-master

9999999-dev

A Symfony bundle for the Lob.com PHP SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony lob

11/02 2016

2.0.0

2.0.0.0

A Symfony bundle for the Lob.com PHP SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony lob

11/02 2016

1.0.0

1.0.0.0

A Symfony bundle for the Lob.com PHP SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony lob