Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pejmankheyri/smsirlaravel
A practical package for sending SMS through the sms.ir panel
https://github.com/pejmankheyri/smsirlaravel
farsi laravel notification persian php php56 php74 sms smsir
Last synced: about 2 months ago
JSON representation
A practical package for sending SMS through the sms.ir panel
- Host: GitHub
- URL: https://github.com/pejmankheyri/smsirlaravel
- Owner: pejmankheyri
- License: mit
- Archived: true
- Created: 2021-04-07T09:25:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-11T11:53:12.000Z (6 months ago)
- Last Synced: 2024-09-28T19:23:03.468Z (about 2 months ago)
- Topics: farsi, laravel, notification, persian, php, php56, php74, sms, smsir
- Language: PHP
- Homepage:
- Size: 1.04 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
+
# Send SMS by Laravel
A practical package for sending SMS through the sms.ir panel
## Installation
```
composer require pejmankheyri/smsirlaravel
php artisan vendor:publish
php artisan migrate
```## Features
* `Smsirlaravel::send()`
* `Smsirlaravel::credit()`
* `Smsirlaravel::getLines()`
* `Smsirlaravel::addToCustomerClub()`
* `Smsirlaravel::deleteContact()`
* `Smsirlaravel::sendToCustomerClub()`
* `Smsirlaravel::addContactAndSend()`
* `Smsirlaravel::sendVerification()`
* `Smsirlaravel::ultraFastSend()`
* `Smsirlaravel::getSentMessages()`
* `Smsirlaravel::getReceivedMessages()`## Settings
* Add this code in the `app.php` file in the providers section: `pejmankheyri\smsirlaravel\SmsirlaravelServiceProvider::class,`
* Add this code in the `app.php` file in the aliases section: `'Smsirlaravel' => pejmankheyri\smsirlaravel\SmsirlaravelFacade::class,`
* After publishing the package, open the `smsirlaravel.php` file in the config folder and make the settings as below:```
'webservice-url' => env('SMSIR-WEBSERVICE-URL','https://ws.sms.ir/'),
'api-key' => env('SMSIR-API-KEY','Your sms.ir api key'),
'secret-key' => env('SMSIR-SECRET-KEY','Your sms.ir secret key'),
'line-number' => env('SMSIR-LINE-NUMBER','Your sms.ir line number'
```## Development Assistance
We welcome pull requests.
For major changes, please open an issue first so we can discuss what you want to change.
## License
MIT