PHPackages                             meisam-mulla/laravel-plivo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. meisam-mulla/laravel-plivo

ActiveLibrary

meisam-mulla/laravel-plivo
==========================

A Plivo-PHP Wrapper for Laravel

27.9k1[1 issues](https://github.com/MeisamMulla/laravel-plivo/issues)PHP

Since Oct 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/MeisamMulla/laravel-plivo)[ Packagist](https://packagist.org/packages/meisam-mulla/laravel-plivo)[ RSS](/packages/meisam-mulla-laravel-plivo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Plivo for Laravel
=================

[](#plivo-for-laravel)

This is a simple wrapper around `plivo/plivo-php` that creates a `Plivo` facade for Laravel.

Installation
------------

[](#installation)

Navigate your your laravel installation and type the following into the command line

```
composer require meisam-mulla/laravel-plivo:dev-master
```

Add the following in your ServiceProvider array in config/app.php

```
MeisamMulla\Plivo\ServiceProvider::class,
```

Add the following to your aliases array

```
'Plivo' => MeisamMulla\Plivo\Facade::class,
```

Run `php artisan vendor:publish`

Add the following lines at the bottom of your .env:

```
PLIVO_AUTH_ID=YOURAUTHID
PLIVO_AUTH_TOKEN=YOURAUTHTOKEN
```

Your Auth ID and Token can be found in your Plivo dashboard.

Usage
-----

[](#usage)

Refer to the [PHP Helper Docs](https://www.plivo.com/docs/helpers/php/#methods) for all the methods available. Simple example on how to send a SMS:

```
