Skip to content

jakubenglicky/sms-manager

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Downloads this Month Build Latest version

SMS Manager PHP SDK

Library for sending SMS via https://smsmanager.cz/

Information about HTTP Request API https://smsmanager.cz/api/http

Instalation:

composer require jakubenglicky/sms-manager

Easy using:

$msg = new \jakubenglicky\SmsManager\Message\Message();
$msg->setTo(['+420777111222']);
$msg->setBody('Message text');

$client = new \jakubenglicky\SmsManager\Http\Client('api-key');
$client->send($msg);

Nette DI:

extensions:
	smsmanager: jakubenglicky\SmsManager\DI\SmsManagerExtension

smsmanager:
	apiKey: 'sms-manager-api-key'
    	

Use interface IClient for sending SMS in Nette.

SMS Tracy Panel

config.local.neon

tracy:
	bar:
		- jakubenglicky\SmsManager\Diagnostics\Panel(%tempDir%)

services:
	smsmanager:
		class: jakubenglicky\SmsManager\IClient
		factory: jakubenglicky\SmsManager\Diagnostics\DebugClient(%tempDir%)

This panel was inspired by the Nextras Mail Panel