Download the PHP package dizatech/notifier without Composer
On this page you can find all versions of the php package dizatech/notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package notifier
Laravel Notifier Package For Iranian SMS Services
This is a Laravel Package for SMS Service Integration.
List of available drivers
How to install and config dizatech/notifier package?
Installation
Publish Config file
Migrate tables, to add notifier tables to database
How to use exists drivers from package
-
Set the configs in /config/dizatech_notifier.php
-
Use this sample code to send sms
- Ghasedak OTP method example :
Parameters
Parameter | Required | Description | Type | Example |
---|---|---|---|---|
driver | No | Driver to be used | string | ghasedak |
userId | No | The id of the receiver user. | integer | 12 |
templateId | Yes | The id of the template of the message, which, specified in your seeder.**** | integer | 14 |
params | Yes | All the parameters that you want to put in the sms template. | array | ['param1' => 'passwdsd12ds', 'param2' => 'my text'] |
options | Yes | It is used to set several options for each driver,a driver maybe contains it's own options. | array | ['method' => 'otp','ghasedak_template_name' => 'registration', 'hasPassword' => 'yes'] |
Template Seeder
-
Basic and standard structure :
- id : used in templateId option
- template_text : add your parameters by number (up to 10) in your message text like [param1] or [param2]
Requirements:
- PHP v7.0 or above
- Laravel v7.0 or above
- ghasedak/php package packagist link
All versions of notifier with dependencies
PHP Build Version
Package Version
Requires
php Version
7.1.*|7.2.*|7.3.*|7.4.*
laravel/framework Version 7.*|8.*
ghasedak/php Version 1.*
laravel/framework Version 7.*|8.*
ghasedak/php Version 1.*
The package dizatech/notifier contains the following files
Loading the files please wait ....