unitpost / laravel
Laravel wrapper for the official Unitpost PHP SDK.
0.3.0
2026-08-28 19:59 UTC
Requires
- php: >=8.2
- illuminate/support: >=10.0
- unitpost/unitpost: ^0.3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.