digitonic / laravel-infobip
Accessing infobip API via HTTP facade
Installs: 109
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:laravel-package
Requires
- guzzlehttp/guzzle: ^7.5
- illuminate/support: 8.*|9.*|10.*|11.*
Requires (Dev)
- laravel/pint: ^1.2
- orchestra/testbench: ^7.14
- pestphp/pest: ^1.22
- pestphp/pest-plugin-laravel: ^1.3
README
This a minimal infobip API package for laravel.
Installation
composer require digitonic/laravel-infobip
Usage
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.
SendMessages
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
Numbers Lookup
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
Numbers Lookup Query
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
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email steven@digitonic.co.uk instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.