yuzderece / netgsm
NetGsm Sms Entegrasyonu
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 7
pkg:composer/yuzderece/netgsm
Requires
- guzzlehttp/guzzle: ~6.0
- illuminate/session: 5.*
- illuminate/support: 5.*
This package is not auto-updated.
Last update: 2025-12-21 12:29:08 UTC
README
Installation
Install package with composer
composer require yuzderece/netgsm
##Â Configuration
Add Netgsm API information to .env file
NETGSM_URL=https://api.netgsm.com.tr
NETGSM_USERNAME=
NETGSM_PASSWORD=
NETGSM_HEADER=
NETGSM_URL is API base url of netgsm. NETGSM_USERNAME and NETGSM_PASSWORD is authentication information of netgsm. NETGSM_HEADER is default header of sms messages.
Usage
Send sms to one number
Netgsm::sendSms("50xxxxxxxx", "Message content");
You can also specify options. Like header and startDate
Netgsm::sendSms($number, $message, $header = null, $startDate = null, $endDate = null, $lang = null);
Send sms to multiple numbers
Netgsm::sendSms(["50xxxxxxxx", "50xxxxxxxx"], "Message Content");
License
This project is open-sourced software licensed under the MIT license.