go-labs/sms

Library to send messages through a GSM Modem Gateway

dev-master 2016-05-18 16:00 UTC

This package is not auto-updated.

Last update: 2024-09-18 19:09:08 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

This library is used to send SMS programmatically through a GSM (Global System for Mobile Communications).

Install

Via Composer

$ composer require go-labs/sms

Usage

You have to add these lines into your PHP code.

 use GoLabs\Sms\Sms;
 ----
 $sms = new Sms($serialPort, $baudRate, $parity, $lenght, $stopBits, $flowControl);
 $sms->sendMessage($countryCode, $phoneNumber, $message);

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email jvargas@go-labs.net instead of using the issue tracker.

Credits

  • GoLabs
  • [All Contributors][link-contributors]

License

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