Download the PHP package extenbox/notify without Composer
On this page you can find all versions of the php package extenbox/notify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download extenbox/notify
More information about extenbox/notify
Files in extenbox/notify
Package notify
Short Description Framework-agnostic PHP SMS panel package with optional Laravel integration
License MIT
Homepage https://github.com/extenbox/notify
Informations about the package notify
Notify
Framework-agnostic PHP SMS package with optional Laravel integration.
Supported providers: mediana, melipayamak, ghasedak, smsir, ippanel.
Install
The package core only requires PHP 8.1+ and Guzzle. Laravel components are optional and are used only inside Laravel projects.
Package Layout
src/contains the framework-independent SMS core.db/migrations/contains raw migration files that each framework can copy or publish where it needs.integrations/laravel/contains Laravel helpers such as service provider, facade, artisan commands, notification channel, Eloquent models, and controller.
Plain PHP
CodeIgniter
You can create a small service and reuse the same core manager.
Usage:
Laravel
Laravel auto-discovery still works. The old facade and helper style remain available.
The Laravel service provider publishes migrations from db/migrations/ into your app's database/migrations directory.
Pattern SMS
Use Notify::sms($to, $message) for normal SMS and Notify::flash($to, $patternCode, $variables) for pattern SMS, then call final send().
Runtime Configuration
Driver SDK Methods
You can access provider-specific SDK methods through the manager:
Every driver also supports raw requests for newly added provider endpoints:
Notes
Extenbox\Notify\Notifyis the framework-independent static gateway.Extenbox\Notify\NotifyManageris the framework-independent manager class.integrations/laravel/contains Laravel-only adapters while preserving their previous namespaces for compatibility.ssl_verifycontrols Guzzle SSL certificate verification. Keep ittruein production; set it tofalseonly for local/testing environments with certificate issues. The aliassslverifyis also accepted.- Driver
base_urlvalues may include a path such as/v1; request endpoints are joined safely, sohttps://api.sms.ir/v1plussend/bulkstays under/v1/send/bulk. - In non-Laravel projects, set
'log' => ['enabled' => false]unless you implement logging yourself.