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

This package is auto-updated.

Last update: 2024-11-12 19:51:28 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!