javierslzrh / playsmsws
PlaySMS API for Laravel 4
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 1
pkg:composer/javierslzrh/playsmsws
Requires
- php: >=5.4.0
- illuminate/support: 4.*
This package is auto-updated.
Last update: 2025-11-17 23:44:46 UTC
README
Laravel 4 PlaySMS API Integration
Installation
Begin by installing this package through Composer. Edit your project's composer.json file to require javierslzr/playsmsws.
"require": {
"laravel/framework": "4.*",
"javierslzrh/playsmsws": "dev-master"
},
Next, update Composer from the Terminal:
composer update
Once composer is finished, you need to add the service provider. Open app/config/app.php, and add a new item to the providers array.
'Javierslzrh\Playsmsws\PlaysmswsServiceProvider',
Then, add a Facade for more convenient usage. In app/config/app.php add the following line to the aliases array:
'Playsms' => 'Playsmsws\Playsmsws\Facades\Playsmsws',
Publish config files from the Terminal
php artisan config:publish javierslzrh/playsmsws
Edit config/packages/javierslzrh/playsmsws/config.php with your appropriate PlaySMS settings
Usage
Sending a SMS Message
<?php Playsms::sendSms('+584260001122', 'Good morning'); ?>
Scheduling a SMS Message
<?php Playsms::scheduleSms('+584260001122', 'Good morning', '2014-07-22 06:00:00'); ?>
License
laravel4-playsmsws is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
laravel4-playsmsws is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with laravel4-playsmsws. If not, see http://www.gnu.org/licenses/.
You may find detail information about GPLv3 here: http://www.gnu.org/licenses/gpl-3.0.html
The GPLv3 full text is included in file LICENSE.md