Download the PHP package bodyansky/plivo without Composer
On this page you can find all versions of the php package bodyansky/plivo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bodyansky/plivo
More information about bodyansky/plivo
Files in bodyansky/plivo
Package plivo
Short Description A Plivo SMS integration for Laravel
License MIT
Homepage https://github.com/OlegBodyansky/plivo
Informations about the package plivo
Plivo
A Plivo SMS integration for Laravel
Installation
This package requires PHP 7.4+, and includes a Laravel 7 Service Provider and Facade.
To install through composer include the package in your composer.json
.
"bodyansky/plivo": "1.1.0"
Run composer install
or composer update
to download the dependencies or you can run composer require bodyansky/plivo
.
Refresh Autoloader
At this point some users may need to run the command composer dump-autoload
. Alternatively, you can run php artisan optimize
which should include the dump-autoload command.
Laravel 7+ Integration
To use the package with Laravel 5 firstly add the Messaging service provider to the list of service providers
in app/config/app.php
.
Add the Messaging
facade to your aliases array.
Publish the config and migration files using
To access Plivo/Messaging you can either use the Facade or the Messaging instance is bound to the IOC container and you can then dependency inject it via its contract.
Configuration File
Once you have published the config files, you will find a Plivo.php
file in the config
folder. You should
look through these settings and update these where necessary.
Env
You will need to add the following to your .env
file and update these with your own settings