comilio/sms-send

Client library to send SMS using Comilio SMS Gateway API (https://www.comilio.it)

0.2.0 2018-12-11 13:59 UTC

This package is auto-updated.

Last update: 2024-05-12 03:46:23 UTC


README

PHP client library to send SMS messages using Comilio SMS Gateway.

To use this library, you must have a valid account on https://www.comilio.it.

Please note SMS messages sent with this library will be deducted by your Comilio account credits.

For any questions, please contact us at tech@comilio.it

How to send a message

$my_sms = new Comilio\SmsMessage();
$my_sms->authenticate('your_username', 'your_password')
       ->setRecipients('+393400000000')
       ->send('Hello World!');

Installation

Composer (recommended)

Install it via composer (https://getcomposer.org/).

Other autoloaders

This package is PSR-4 compliant, so you can clone the repository in your project and a use PSR-4 compatible autoloader (e.g. Symfony or Laravel)

Manual installation

You can simply clone the repository into your project and use the classes contained in src/ directory.

Please check the examples directory here: https://github.com/comilio/php-sms-send/blob/master/examples/

More info

You can check out our website https://www.comilio.it or contact us.

Contributing

If you wish to contribute to this project, please feel free to send us pull request. We'll be happy to check them out!