Skip to content

ahoseinpour/laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ghasedak for php

Ghasedak sms webservice package for php.

install

The easiest way to install Behat is by using Composer:

composer require ghasedak/laravel:"dev-master"

usage

Add the Ghasedak\Laravel\ServiceProvider provider to the providers array in config/app.php:

'providers' => [
  ...
  Ghasedak\GhasedakServiceProvider::class,
],

Then add the facade to your aliases array:

'aliases' => [
  ...
  'Ghasedak' =>   Ghasedak\GhasedakFacade::class,
],

You need a Ghasedak account. Register and get your API key.

Create an instance from Ghasedak class with your API key:

$api = new \Ghasedak\GhasedakApi( env(GHASEDAKAPI_KEY));

Send some sms:

$api->SendSimple( 
      "09xxxxxxxxx",
      "Hello World!"
 );

:)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages