lidskasila / sms-manager
PHP library for sending SMS via SmsManager.cz
Installs: 4 476
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 4
Type:standalone
Requires
- php: >=7.1
- guzzlehttp/guzzle: ^6.0
This package is not auto-updated.
Last update: 2022-02-01 13:01:28 UTC
README
Library for PHP that can send SMS via SmsManager.cz gateway. (not all API methods are implemented for now)
Requirements
LidskaSila/SmsManager requires PHP 7.0 or higher.
Installation
$ composer require lidskasila/sms-manager
Usage
Pass Sms
object to SmsManager
sendSms()
method. Sms
object should include all data like message, message type, receipients or sender.
Usage with Nette
Register it as a service, then you can autowire it.
smsManager: class: LidskaSila\SmsManager\SmsManager setup: - setAuth(%smsManager.username%, %smsManager.token%)