/smsportal-laravel

Integration package for integrating SMSPortal into Laravel.

Primary LanguagePHPMIT LicenseMIT

SMSPortal Laravel Package

Latest Version on Packagist Build Status Quality Score Total Downloads

Third party package created to consume the SMSPortal RESTful API to send SMS's to phone numbers.

Installation

You can install the package via composer:

composer require schemeza/smsportal-laravel

Set these .env variables:

SMSPORTAL_BASE_URL=https://rest.smsportal.com/v1
SMSPORTAL_CLIENT_ID=
SMSPORTAL_SECRET=

You can find your client id & secret in your SMSPortal control panel.

Usage

SMSPortal::sendMessage('0112223333', 'Hello world!');

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email jaybeezorr@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.