Download the PHP package byjg/sms-client without Composer
On this page you can find all versions of the php package byjg/sms-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download byjg/sms-client
More information about byjg/sms-client
Files in byjg/sms-client
Download byjg/sms-client
More information about byjg/sms-client
Files in byjg/sms-client
Vendor byjg
Package sms-client
Short Description A generic and extensible lightweight sms client to publish SMS service providers like Twilio and ByJG.
License MIT
Package sms-client
Short Description A generic and extensible lightweight sms client to publish SMS service providers like Twilio and ByJG.
License MIT
Please rate this library. Is it a good library?
Informations about the package sms-client
SMS Client
This is a simple client to send SMS using different providers.
Features
- Low code to send SMS
- Classes totally decoupled
- Easy to implement new providers
Usage
Using ProviderFactory
Using ProviderFactory to send a message to multiple providers depending on the country
Providers
The providers are the classes responsible to send the text message.
All providers have the following interface:
There is no necessary call the method getConnection()
because the method publish() and consume() will call it automatically.
Use the method getConnection()
only if you need to access the connection directly.
Implemented providers
provider | URL / Documentation | Specifics |
---|---|---|
twilio://accoundId:authToken@default | Send a message using the Twilio messaging provider. | Message object requires withSender to set. |
twilio_verify://accoundId:authToken@serviceSid | Send a message using the Twilio verify verify provider. | Message with empty body send the SMS with the OTP code. To validate the received OTP, needs to pass it to the Message::body |
byjg://username:password@default | Send a message using the ByJG provider. | Only Brazil. |
fakesender:// | Fake sender to be used on tests. | Only for tests. Do not send messages. |
Install
Dependencies
All versions of sms-client with dependencies
PHP Build Version
Package Version
The package byjg/sms-client contains the following files
Loading the files please wait ....