Search by

unitpost / laravel

blackswanny

Laravel wrapper for the official Unitpost PHP SDK.

0.3.0 2026-08-28 19:59 UTC

This package is auto-updated.

Last update: 2026-09-20 06:11:50 UTC


README

Laravel wrapper around unitpost/unitpost.

composer require unitpost/laravel
use Unitpost\Laravel\Facades\Unitpost;

$result = Unitpost::email()->send([
    'from' => 'Acme <team@acme.com>',
    'to' => 'user@example.com',
    'subject' => 'Hello',
    'html' => '<p>Hi</p>',
]);

The service provider binds Unitpost\Client from UNITPOST_API_KEY / config/unitpost.php.

Unitpost::sms() is the SMS channel: beta, behind the launch gate. It is wired in its GA shape (send, get, list, brands, numbers, contact SMS consent); while your workspace's gate is off every call returns 404.

Docs: https://www.unitpost.com/docs