Package Data | |
---|---|
Maintainer Username: | Rhincodon |
Maintainer Contact: | rhinodontypicus@gmail.com (Denis Isaychenko) |
Package Create Date: | 2015-09-14 |
Package Last Update: | 2016-11-26 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:02:12 |
Package Statistics | |
---|---|
Total Downloads: | 46 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 2 |
Total Open Issues: | 0 |
Laravel 5.x package for LetsAds SMS provider.
You can install the package via composer:
$ composer require rhincodon/laravel-letsads
This service provider must be installed. And facade:
// config/app.php
'providers' => [
...
Rhinodontypicus\LetsAds\LetsAdsServiceProvider::class,
];
'aliases' => [
'LetsAds' => Rhinodontypicus\LetsAds\LetsAdsFacade::class,
];
You can publish the migration with:
php artisan vendor:publish --provider="Rhinodontypicus\LetsAds\LetsAdsServiceProvider"
In all cases will be returned SimpleXML object with appropriate information about action or ErrorException:
use LetsAds;
// Get balance
LetsAds::balance();
// Send messages
// $phones may be string or array
LetsAds::send($message, $from, $phones);
// Get messages statuses
LetsAds::status($messageId);
The MIT License (MIT). Please see License File for more information.