mvaliolahi / sms
PHP SMS Client
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mvaliolahi/sms
Requires
- mvaliolahi/http: v1.0.0
Requires (Dev)
- phpunit/phpunit: 6.2
This package is auto-updated.
Last update: 2025-09-12 21:35:17 UTC
README
Install
composer require mvaliolahi/sms
1. Instantiate
To generate document for your awesome API create an instance of http:
$kavenegar = new Kavenegar( (new KavenegarConfig()) ->setApiKey('123456') ->setSender('123456789') ); $sms = new \Mvaliolahi\SMS($kavenegar);
2. Available methods:
public function send($number, $message);
3. Implements new client
Just impelement the Mvaliolahi\SMS\Contracts\ShortMessageService
contract and done!