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

Access-Afya/infobip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.