edlugz / vas
This package provides you with a simple tool to make requests to VAS SMS API
Requires
- illuminate/support: ^10.0.0
Requires (Dev)
- orchestra/testbench: ~7
- phpunit/phpunit: ^10.1
This package is auto-updated.
Last update: 2024-10-26 13:04:06 UTC
README
This package provides you with a simple tool to make requests to VAS APIs so that you can focus on the development of your awesome applications instead of all the set up involved.
Installation
Via Composer
composer require edlugz/vas
Publish Migration Files
php artisan vendor:publish --provider="EdLugz\VAS\VASServiceProvider" --tag="migrations"
Fill in all the details you will be requiring for your application. Here are the env variables for quick copy paste.
VAS_API_KEY VAS_REGISTERED_EMAIL VAS_SENDER_ID
Usage
Using the facade
Check balance
VAS::SMS()->balance();
Send Message
VAS::SMS()->send($mobileNumber, $message, $requestId = null);
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email eddy.lugaye@gmail.com instead of using the issue tracker.
Credits
License
MIT. Please see the license file for more information.