seymur/clockworksms

Laravel api for clockworksms
31 2
Install
composer require seymur/clockworksms
PHP:>=5.5.0
License:MIT
Last Updated:Aug 30, 2017
Links: GitHub  ·  Packagist
Maintainer: seymuromarov

About Project

Laravel api for sending messages and checking balance with ClockWorkSms

Requirements

Installation

Require package:

composer require seymur/clockworksms:dev-master

Now add the service provider in config/app.php file:

'providers' => [
    // ...
        Seymur\Clockworksms\ClockWorkServiceProvider::class,
],

after this add alias in config/app.php file:

'aliases' => [
 //...
     'Clockworksms' => Seymur\Clockworksms\Facades\Clockworksms::class,
 ],

use command (optional):

composer dump-autoload

now u can use api like this

use Seymur\Clockworksms\Facades\Clockworksms;
 //...

    Clockworksms::send($apiKey,$number,$message);

or you can use

\Seymur\Clockworksms\Facades\Clockworksms::send($apiKey,$number,$message);

for sending bulk message use array

    Clockworksms::send($apiKey,[441234567890,994515553344,441234567891],$message);

for checking balance use:

    Clockworksms::balance($apiKey);

Related Packages

paxha/laravel-recursive-relationships

This Laravel Eloquent extension provides recursive relationships using common ta...

56,281 27
bertbijnens/laravel-fractal-paginate

Extending Spatie's laravel fractal package to support build-in pagination

17,826 2
wheredidgogogo/avanser

A Laravel package to connect to Avanser call tracking API

6,300 1
mrabbani/laravel-module-manager

Laravel Module Management

5,186 88
benbjurstrom/passport-custom-jwt-claims

Customize JWT claims in Laravel Passport access tokens

1,759 34