Package Data | |
---|---|
Maintainer Username: | hizbul |
Maintainer Contact: | hizbul25@gmail.com (Hizbul Bahar) |
Package Create Date: | 2016-12-20 |
Package Last Update: | 2021-07-15 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-05 15:00:15 |
Package Statistics | |
---|---|
Total Downloads: | 456 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 22 |
Total Watchers: | 3 |
Total Forks: | 10 |
Total Open Issues: | 0 |
The OnnoRokom SMS Service Provider can be installed via Composer by requiring the
hizbul/onnorokom-sms
package and setting the minimum-stability
to dev
(required for Laravel 5.*) in your
project's composer.json
.
{
"require": {
"hizbul/onnorokom-sms": "dev-master",
},
}
or
Require this package with composer:
composer require hizbul/onnorokom-sms
Update your packages with composer update
or install with composer install
.
To use the OnnoRokom SMS Service Provider, you must register the provider when bootstrapping your Laravel application. There are essentially two ways to do this.
Find the providers
key in config/app.php
and register the OnnoRokom SMS Service Provider.
'providers' => [
// ...
Hizbul\OnnorokomSms\OnnorokomSmsServiceProvider::class,
]
Find the aliases
key in config/app.php
.
'aliases' => [
// ...
'OnnoRokomSMS' => Hizbul\OnnorokomSms\Facades\OnnoRokomSMS::class,
]
To use your own settings, publish config.
$ php artisan vendor:publish
config/onnorokom.php
onnorokom_sms(['message' => 'some text msg', 'mobile_number' => '01918....']);
onnorokom_sms(['message' => 'some text msg', 'mobile_number' => ['01918....', '0171....']]);
Based on OnnoRokom SMS Service
^_^