Skip to content

Latest commit

 

History

History
43 lines (23 loc) · 647 Bytes

README.md

File metadata and controls

43 lines (23 loc) · 647 Bytes

Laravel netgsm Package

Simplest netgsm package for Laravel 7+

Installation

You should install this package through Composer.

composer require bakcay/netgsm:dev-main

You do not need to edit app.php if you are using laravel 7+,

  • "laravel 7 or lower versions are not supported."

Edit .env file parameters below

NETGSM_USER_CODE=53xxxxx
NETGSM_SECRET=123456
NETGSM_HEADER=Myfirm

Usage

 $message = new \Bakcay\NetGsm\NetGsm();
 $message->setMessage("Hello, Message")
            ->setNumber("05354440000")
            ->send();

That's it, enjoy.

===