agoalofalife/targetsms

This is wrapper https://targetsms.ru/

v1.0.0 2021-08-31 13:57 UTC

This package is auto-updated.

Last update: 2024-12-06 10:47:23 UTC


README

Unfortunatly, current version incompatible with current version targetsms.

Some time ago, they updated api, but if this package did popular I will update it.

What it is?

Is a library for the use of sending SMS with the service TargetSms

This package is framework-dependent!

It is used in the environment Laravel

How to start using?

First of all, you have to install this package

composer require agoalofalife/targetsms

You must add the service provider in file config/app.php

agoalofalife\targetsms\Providers\TargetSmsProvider::class

and execute the command in the console

php artisan vendor:publish

Then in the folder ** /config** you will see file targetSMS.php

You will need to add your settings

return [
'login' => '',
'password' => '',
'url' => 'https://sms.targetsms.ru', //most likely
'sender' => '' //how to sign SMS messages
];

Examples you can see in the folder Example