PHP SMS Client

Maintainers

Package info

github.com/mvaliolahi/sms

Homepage

pkg:composer/mvaliolahi/sms

Statistics

Installs: 13

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

V1.0.0 2020-05-12 09:47 UTC

This package is auto-updated.

Last update: 2026-03-12 22:56:00 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!