2017 © Pedro Peláez
 

laravel clockworksms

Laravel api for clockworksms

image

seymur/clockworksms

Laravel api for clockworksms

  • Wednesday, August 30, 2017
  • by seymuromarov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 57 % Grown

The README.md

, (*1)

About Project

Laravel api for sending messages and checking balance with ClockWorkSms, (*2)

Requirements

Installation

Require package: ``` bash composer require seymur/clockworksms:dev-master, (*3)


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

'providers' => [ // ... Seymur\Clockworksms\ClockWorkServiceProvider::class, ],, (*4)


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

'aliases' => [ //... 'Clockworksms' => Seymur\Clockworksms\Facades\Clockworksms::class, ],, (*5)


use command (optional):

composer dump-autoload, (*6)

now u can use api like this 

use Seymur\Clockworksms\Facades\Clockworksms; //..., (*7)

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

or you can use

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


for sending bulk message use array
Clockworksms::send($apiKey,[441234567890,994515553344,441234567891],$message);

for checking balance use:
Clockworksms::balance($apiKey);

```, (*9)

The Versions

30/08 2017

dev-master

9999999-dev

Laravel api for clockworksms

  Sources   Download

MIT

The Requires

 

by Seymur Omarov