camelcasetechs/vansosms
Larablocks Analysis
camelcasetechs/vansosms works with Laravel 5 and 6 (latest release 0.1.4, Dec 18, 2019), all past end of life (the last on Sep 6, 2022): no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5 and 6, past end of life since Sep 6, 2022
- No release in the last 12 months (last: Dec 18, 2019)
- 0 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Dec 18, 2019.
- No releases in the last 12 months.
- First released: Dec 18, 2019.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.
| Install | |
|---|---|
composer require camelcasetechs/vansosms |
|
| Latest Version: | 0.1.4 |
| PHP: | >=7.0 |
| Laravel: | 5 · 6 |
| License: | MIT |
| Last Updated: | Dec 18, 2019 |
| Links: | GitHub · Packagist |
Vanso SMS API
An Api to Call the Vanso SMS Gateway
Vanso is an Interswitch company
This library assumes you are sending sms to Nigeria only.
This library has no unit test embedded yet, it is highly important you test well.
Check composer.json for dependencies.
Installation
For composer installation, run composer require camelcasetechs/vansosms
Laravel
- For Laravel >=5.5 uses Package Auto-Discovery, so you don't need to manually add the ServiceProvider and Facades
- Run
php-artisan vendor:publish --tag=vansosms-configto copy sample config file toconfig/vanso-sms.php
Usage
The classes in the src directory are for you to update and adapt to your need.
- If you use Laravel, and publish the config file as explained in installation, update config/vanso-sms.php and everything should work fine.
- If you are not using Laravel, please make a child class of
\CamelCase\VansoSMS\VansoSMSClientand override theconfiguremethod.
Call the \CamelCase\VansoSMS\VansoSMSClient::sendSMS factory or the derived class:
\CamelCase\VansoSMS\VansoSMSClient::sendSMS( string $phone, string $message );
$phone is the last 10 digit of the Nigeria phone number e.g 9087263512
$message
$message is the sms message string to send minding the 160 character limit per page
Provided you get an object response with ticketId, you have done your own part.
Below is a sample response payload. Please note that this response was json_encode()
"@attributes": {
"type": "submit"
},
"submitResponse": {
"error": {
"@attributes": {
"code": "0",
"message": "OK"
}
},
"ticketId": "01220112345130545709853"
}
}
Have fun
Related Packages
Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky
A package that allows developers integrate sms providers and provide a common ap...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.1.4 | >=7.0 | >=5.7 | MIT | |
| 0.1.3 | >=7.0 | >=5.7 | MIT | |
| 0.1.2 | >=7.0 | >=5.7 | MIT | |
| 0.1.1 | >=7.0 | >=5.7 | MIT |