PHPackages                             lob/lob-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. lob/lob-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

lob/lob-php
===========

The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors.

4.2.8(10mo ago)664.0M↑12.8%22[7 issues](https://github.com/lob/lob-php/issues)[6 PRs](https://github.com/lob/lob-php/pulls)4unlicensePHPPHP ^7.3 || ^8.1CI passing

Since Jul 23Pushed 10mo ago57 watchersCompare

[ Source](https://github.com/lob/lob-php)[ Packagist](https://packagist.org/packages/lob/lob-php)[ Docs](https://openapi-generator.tech)[ RSS](/packages/lob-lob-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (74)Used By (4)

OpenAPIClient-php
=================

[](#openapiclient-php)

The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors.

For more information, please visit [our API documentation](https://docs.lob.com/). Looking for our [legacy PHP SDK](https://github.com/lob/lob-php/tree/v3-legacy)?

Requirements
------------

[](#requirements)

PHP 7.3 and later. Should also work with PHP 8.0 but has not been tested.

Getting Started
---------------

[](#getting-started)

### Registration

[](#registration)

First, you will need to first create an account at [Lob.com](https://dashboard.lob.com/#/register) and obtain your Test and Live API Keys.

Once you have created an account, you can access your API Keys from the [Settings Panel](https://dashboard.lob.com/#/settings).

### Installation &amp; Usage

[](#installation--usage)

#### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), run `php composer.phar install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
