PHP Package: lob/lob-php
The lob-php library provides seamless integration with Lob's API for postcard and letter printing and mailing services.
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.
Download Latest Version: 4.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.