kcabading / laravel-lob by kcabading

Laravel package for the Lob.com API created by Up Web Design
13
1
1
Package Data
Maintainer Username: kcabading
Maintainer Contact: jvista@upwebdesign.com (UPWebDesign, LLC.)
Package Create Date: 2016-04-15
Package Last Update: 2016-04-15
Language: PHP
License: Unknown
Last Refreshed: 2025-02-12 15:06:32
Package Statistics
Total Downloads: 13
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Lob Package for Laravel 4

Laravel Facade and Service Provider for Lob\Lob.

This is a copy of this package https://github.com/upwebdesign/laravel-lob which is no longer available in https://packagist.org

Installation

To use, simply install the package via Composer

Add this to your composer.json file "kcabading/laravel-lob": "dev-master" and run composer update.

Then add the following to your app/config/app.php to the service providers array:

'Upwebdesign\Lob\LobServiceProvider',

Then add to the aliases array the following:

'Lob' => 'Upwebdesign\Lob\Facade',

Publish config file via php artisan config:publish kcabading/laravel-lob.

Usage

You will now have access to the lob-php classes and methods to make your API calls

Lob::addresses()->verify([
    'address_line1' => '1234 Sample Address',
    'address_line2' => '',
    'address_city' => 'San Francisco',
    'address_state' => 'CA',
    'address_zip' => '',
    'address_country' => 'US'
])