edlugz/vas

This package provides you with a simple tool to make requests to VAS SMS API

v0.0.10 2024-03-06 14:30 UTC

README

Latest Version on Packagist Total Downloads Build Status StyleCI

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.