accessafya/infobip

This package is abandoned and no longer maintained. No replacement package was suggested.

Infobip API

0.1.0 2020-08-06 13:16 UTC

This package is auto-updated.

Last update: 2022-03-10 09:29:00 UTC


README

Total Downloads Latest Version on Packagist

An infobip API wrapper.

Install

Via Composer

$ composer require accessafya/infobip

Usage

// Initial with authentication
$infobip = new AccessAfya\Infobip(
  $username,
  $password,
  $senderId,
  $baseUrl
);

SMS

Sending SMS

$response = $infobip->sms->send(
  "text_message",
  "phone_number"
  "scheduled_time" // Optional
);

Email

Sending Email

// Coming soon
$response = $infobip->email->send();

Testing

$ composer test

Security

If you discover any security related issues, please email author instead of using the issue tracker.

License

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