Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Latest commit

 

History

History
76 lines (55 loc) · 1.83 KB

README.md

File metadata and controls

76 lines (55 loc) · 1.83 KB

Infobip

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.