Download the PHP package sabanovin/php without Composer
On this page you can find all versions of the php package sabanovin/php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sabanovin/php
More information about sabanovin/php
Files in sabanovin/php
Download sabanovin/php
More information about sabanovin/php
Files in sabanovin/php
Vendor sabanovin
Package php
Short Description A PHP wrapper for SabaNovin's REST API
License MIT
Homepage http://github.com/SabaNovin/sabanovin-php
Package php
Short Description A PHP wrapper for SabaNovin's REST API
License MIT
Homepage http://github.com/SabaNovin/sabanovin-php
Please rate this library. Is it a good library?
Informations about the package php
SabaNovin PHP
Installation
Use in these ways :
Usage
Send Simple SMS by SabaNovin API:
require __DIR__ . '/vendor/autoload.php';
try{
$api = new \SabaNovin\SabaNovinApi( "API-Key" );
$gateway = "100020500";
$text = "متن تست";
$to = array("09370000000", "09120000000");
$result = $api->Send($gateway, $to, $text);
if($result->entries){
foreach($result->entries as $entry) {
echo "reference_id = $entry->reference_id";
echo "status = $entry->status";
echo "mobile = $entry->mobile";
echo "datetime = $entry->datetime";
}
}
}
catch(\SabaNovin\Exceptions\ApiException $e){
echo $e->errorMessage();
}
All versions of php with dependencies
PHP Build Version
Package Version
The package sabanovin/php contains the following files
Loading the files please wait ....