A simple PHP package for Plasgate SMS provider.
You can install the package via composer:
composer require asorasoft/plasgate
Then add PlasgateServiceProvider
class into config/app.php
return [
"providers" => [
Asorasoft\Plasgate\PlasgateServiceProvider::class,
]
];
You need to publish the configuration files via command
php artisan vendor:publish --provider="Asorasoft\Plasgate\PlasgateServiceProvider"
Need to change plasgate.php
configuration such as token
, sender_Id
and base_url
use Asorasoft\Plasgate\Plasgate;
$plasgate = new Plasgate();
$response = $plasgate->send('phone', 'your_text_message'); // GuzzleHttp Response
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email mabhelitc@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.