This a minimal infobip API package for laravel.
composer require digitonic/laravel-infobip
Before you start you should have in your env file the following ENVS.
INFOBIP_DOMAIN=https://yourdomain.api.infobip.com
INFOBIP_KEY=secret
optionally if you want to tweak the default timeout you can add the following env
INFOBIP_TIMEOUT=30
This package supports 2 endpoint so far with a basic request validation.
Infobip::sendMessages($request)
This method accepts a collection with messages to be sent example can be found in Sms More details can be found here on the infobip API page
Infobip::numbersLookup($request)
This method accepts a collection with messages to be looked up example can be found in Sms More details can be found here on the infobip API page
Infobip::numbersLookupQuery($request)
This method accepts a collection with messages to be looked up example can be found in Sms More details can be found here on the infobip API page
Please see CHANGELOG for more information what has changed recently.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.