Skip to content

Commit

Permalink
Add example to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranb committed Nov 6, 2016
1 parent 64ac503 commit 58bd2a6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ And add the service provider in `config/app.php`:
Darkin1\Intercom\IntercomServiceProvider::class,
```

And add the facade alias in `config/app.php`:

```php
'Intercom' => Darkin1\Intercom\Facades\Intercom::class,
```

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

Expand All @@ -36,6 +42,20 @@ return [
```


Example
-------------

```php

use Intercom;

$users = Intercom::users()->getUsers([]);

$leads = Intercom::leads()->getLeads([]);

```


Documentation
-------------

Expand Down

0 comments on commit 58bd2a6

Please sign in to comment.