PHP Package: lob/lob-php

The lob-php library provides seamless integration with Lob's API for postcard and letter printing and mailing services.

Current Version: 4.2.8
Last Updated: 2025-07-02
PHP Requirement: ^7.3 || ^8.1
Dependencies:
lob/lob
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

lob-php is a powerful PHP library designed for developers to easily interact with Lob's robust platform, enabling the creation, printing, and mailing of postcards and letters. With comprehensive API functions, this library streamlines the process of sending physical mail programmatically.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.2.8

Download Download v4.2.8

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/lob/lob-php/4.2.8/loader.php';
require_once 'libs/lob/lob/{lib_version}/loader.php';

use Lob\LobClient;
use Lob\Resources\Postcards;

$obj = new LobClient();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.