misaf/laravel-sms-gateway-ippanel

IPPanel SMS gateway driver for Laravel.

Maintainers

Package info

github.com/misaf/laravel-sms-gateway-ippanel

pkg:composer/misaf/laravel-sms-gateway-ippanel

Transparency log

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v3.0.0 2026-07-04 09:55 UTC

This package is auto-updated.

Last update: 2026-07-04 09:55:35 UTC


README

IPPanel SMS gateway driver for misaf/laravel-sms-gateway.

Installation

composer require misaf/laravel-sms-gateway-ippanel

Laravel package discovery registers the driver service provider automatically.

Configuration

SMS_GATEWAY_DRIVER=ippanel
SMS_GATEWAY_IPPANEL_USERNAME=your-username
SMS_GATEWAY_IPPANEL_PASSWORD=your-password
// config/services.php
'ippanel' => [
    'username' => env('SMS_GATEWAY_IPPANEL_USERNAME'),
    'password' => env('SMS_GATEWAY_IPPANEL_PASSWORD'),
    'base_url' => env('SMS_GATEWAY_IPPANEL_BASE_URL', 'https://ippanel.com/'),
],

Driver Behavior

Option Value
Driver name ippanel
Default base URL https://ippanel.com/
send() endpoint POST services.jspd
Authentication uname and pass query parameters from services.ippanel.username and services.ippanel.password
Payload Form data sent directly to IPPanel

Usage

use Misaf\LaravelSmsGateway\Facade\SmsGateway;

$response = SmsGateway::driver('ippanel')->send([
    'op'      => 'send',
    'from'    => '3000505',
    'to'      => '09123456789',
    'message' => 'Hello from IPPanel',
]);

The payload is passed directly to IPPanel, so use the fields expected by the IPPanel API.

Use request() when you need direct access to Laravel's HTTP client:

$request = SmsGateway::driver('ippanel')->request();

Testing

composer test
composer analyse

License

MIT