daika7ana/laravel-web2sms

NETOPIA Web2SMS Laravel integration with CURL

Installs: 151

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 2

Open Issues: 0

Type:laravel-package

1.34 2021-03-25 13:44 UTC

This package is auto-updated.

Last update: 2024-11-25 21:58:54 UTC


README

Laravel 5.4+ integration package for Web2SMS.ro

composer require daika7ana/laravel-web2sms

In config/app.php :

Under Package Service providers:
	Daika\Web2sms\Web2smsServiceProvider::class
Under Aliases:
	'Web2sms' => Daika\Web2sms\SmsSender::class
php artisan vendor:publish --provider="Daika\Web2sms\Web2smsServiceProvider" --tag=config

Edit credentials and default values in config/web2sms.php.

Usage example:
	>>> $w2sms = new Web2sms;
        >>> $w2sms->recipient('407XXXXXXXX');
        >>> $w2sms->message('Another test');
        >>> $w2sms->send();