PHPackages                             a4anthony/whereby-laravel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. a4anthony/whereby-laravel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

a4anthony/whereby-laravel
=========================

A package for WhereBy

1.0.4(3y ago)25811[1 PRs](https://github.com/a4anthony/whereby-laravel/pulls)MITPHP

Since Dec 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/a4anthony/whereby-laravel)[ Packagist](https://packagist.org/packages/a4anthony/whereby-laravel)[ RSS](/packages/a4anthony-whereby-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

Whereby-laravel
===============

[](#whereby-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/db305100355bc7abec1c197b6dce4e2743fd85bf219452aa96f6bcb2f1629fb7/687474703a2f2f706f7365722e707567782e6f72672f6134616e74686f6e792f776865726562792d6c61726176656c2f76)](https://packagist.org/packages/a4anthony/whereby-laravel)[![Total Downloads](https://camo.githubusercontent.com/cbdf9814da91a23901b09b56326405a78f294317a764600807c99254ac1f6ab5/68747470733a2f2f706f7365722e707567782e6f72672f6134616e74686f6e792f776865726562792d6c61726176656c2f646f776e6c6f616473)](https://packagist.org/packages/a4anthony/whereby-laravel)[![License](https://camo.githubusercontent.com/a83f68d23cc29dda72dce08ad3305ebf5eb3f8fc9c78749105277e83a2b4b4a4/68747470733a2f2f706f7365722e707567782e6f72672f6134616e74686f6e792f776865726562792d6c61726176656c2f6c6963656e7365)](https://packagist.org/packages/a4anthony/whereby-laravel)

> A Laravel package for the Whereby API

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

[](#installation)

To install the package, run the following command in your terminal:

```
composer require a4anthony/whereby-laravel
```

Once the package is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.

```
'providers' => [
    ...
    A4Anthony\WherebyLaravel\Providers\WherebyLaravelServiceProvider::class,
    ...
]
```

> If you use **Laravel &gt;= 5.5** you can skip this step and go to [**`configuration`**](https://github.com/a4anthony/whereby-laravel#configuration)

Also, register the Facade like so:

```
'aliases' => [
    ...
    'WherebyLaravel': A4Anthony/WherebyLaravel/Facades/WherebyLaravel::class
    ...
]
```

Configuration
-------------

[](#configuration)

You can publish the configuration file using this command:

```
php artisan vendor:publish --provider="A4Anthony\WherebyLaravel\Providers\WherebyLaravelServiceProvider"
```

A configuration-file named `whereby-laravel.php` with some sensible defaults will be placed in your `config` directory:

```
