library lob-bundle
A Symfony bundle for the Lob.com PHP SDK
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
Encapsulates Lob.com's PHP SDK in a Symfony bundle for configuration., (*1)
Bundled at CrowdReactive, makers of EventsTag., (*2)
, (*3)
Usage
-
Install the bundle:, (*4)
composer require crowdreactive/lob-bundle
-
Add it to AppKernel, (*5)
class AppKernel {
public function registerBundles() {
$bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
// ...
new CrowdReactive\LobBundle\CrowdReactiveLobBundle(),
];
}
}
-
Configuration, (*6)
crowd_reactive_lob:
# Required
api_key: abc123
# Optional
version: 1.5.0 # A specific version of the API
-
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)
dev-master
9999999-dev
A Symfony bundle for the Lob.com PHP SDK
Sources
Download
MIT
The Requires
The Development Requires
bundle
symfony
lob
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
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