Simplest netgsm package for Laravel 7+
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
$message = new \Bakcay\NetGsm\NetGsm();
$message->setMessage("Hello, Message")
->setNumber("05354440000")
->send();
That's it, enjoy.
===
- AUTHOR Bünyamin AKÇAY [email protected]