2017 © Pedro Peláez
 

library netgsm

Laravel 5.1 Net Gsm Sms service package

image

racoonsoftware/netgsm

Laravel 5.1 Net Gsm Sms service package

  • Saturday, November 28, 2015
  • by raccoonsoftware
  • Repository
  • 3 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel Net GSM Package

Gitter Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

  • AUTHOR MEHMET NURI OZTURK mehmet@raccoonsoftware.net

Installation

You should install this package through Composer., (*2)

Edit your project's composer.json file to require raccoonsoftware/netgsm., (*3)

"require": {
    "raccoonsoftware/netgsm": "*"
},

Next, update Composer from the Terminal: composer update, (*4)

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array., (*5)

'RaccoonSoftware\NetGsm\NetGsmServiceProvider::class',, (*6)

And add a new item to the aliases array., (*7)

'NetGsm' => 'RaccoonSoftware\NetGsm\Facade\NetGsm::class',, (*8)

Give this command
php artisan vendor:publish, (*9)

and open config/netgsm.php file and fill necesary information., (*10)

Usage

Option 1, (*11)

use RaccoonSoftware\NetGsm\NetGsm;

Route::get('/', function () {

    $sms = new NetGsm();

    return $sms->setGsmNumber("5xxxxxxxxxx")->setContent("Hello World!")->send();
});

Option 2, (*12)

use RaccoonSoftware\NetGsm\NetGsm;

Route::get('/', function () {

    $sms = new NetGsm();
    $sms->setGsmNumber("5xxxxxxxxx");
    $sms->setContent("Hello New World");

    return $sms->send();
});

The Versions

28/11 2015

dev-master

9999999-dev https://github.com/raccoonsoftware/netgsm

Laravel 5.1 Net Gsm Sms service package

  Sources   Download

BSD

by Mehmet Nuri Ozturk

laravel sms netgsm

28/11 2015

v2.0.0

2.0.0.0 https://github.com/raccoonsoftware/netgsm

Laravel 5.1 Net Gsm Sms service package

  Sources   Download

BSD

by Mehmet Nuri Ozturk

laravel sms netgsm

28/11 2015

v1.0.1

1.0.1.0 https://github.com/raccoonsoftware/netgsm

Laravel 5.1 Net Gsm Sms service package

  Sources   Download

BSD

by Mehmet Nuri Ozturk

laravel sms netgsm

15/11 2015

v1.0.0

1.0.0.0 https://github.com/raccoonsoftware/netgsm

Laravel 5.1 Net Gsm Sms service package

  Sources   Download

BSD

by Mehmet Nuri Ozturk

laravel sms netgsm