Download the PHP package nikba/laravel-bulksms without Composer
On this page you can find all versions of the php package nikba/laravel-bulksms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-bulksms
Laravel BulkSMS
A modern Laravel package for sending and managing SMS messages through the BulkSMS JSON REST API.
- Built on Laravel's HTTP client — fully testable with
Http::fake(). - Fluent message builder with Unicode, scheduling, routing groups and batches.
- Typed, immutable data objects and enums.
- Proper error handling via dedicated exceptions.
Documentation
Full documentation lives in the docs/ directory:
- Installation
- Configuration
- Sending messages
- Reading messages & profile
- Data objects & enums
- Error handling
- Testing
- Upgrading from 1.x
- API reference
Requirements
- PHP 8.2+ (PHP 8.3+ for Laravel 13)
- Laravel 10, 11, 12 or 13
Installation
Publish the config file:
Configuration
Create an API token in your BulkSMS account under
Settings → Developer Settings → API Tokens, then add it to your .env:
The package Base64-encodes the token id/secret pair for you. Username/password authentication is no longer supported by BulkSMS for accounts created after 2026-04-29.
Usage
Send a quick message
Fluent builder
Send to many recipients (batch)
Collect replies (repliable)
Schedule a message
Read messages and profile
Error handling
Failed API calls throw Nikba\BulkSms\Exceptions\BulkSmsRequestException, which
exposes the HTTP status and the decoded API error payload:
Testing
The package uses Laravel's HTTP client, so you can fake it in your own tests:
Run the package test suite:
License
MIT © Bargan Nicolai
All versions of laravel-bulksms with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
guzzlehttp/guzzle Version ^7.5