Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Add note on provider auto-registration capability to README
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed Jun 30, 2017
1 parent 5d42f35 commit 5c9438d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ To install the PHP client library using Composer:
Alternatively, add these two lines to your composer require section:

"nexmo/laravel": "0.4.0"

Then add `Nexmo\Laravel\NexmoServiceProvider` to the `providers` array in your `config/app.php`:

### Laravel 5.5+

If you're using Laravel 5.5 or above, the package will automatically register the `Nexmo` provider and facade.

### Laravel 5.4 and below

Add `Nexmo\Laravel\NexmoServiceProvider` to the `providers` array in your `config/app.php`:

Nexmo\Laravel\NexmoServiceProvider::class

Expand Down

0 comments on commit 5c9438d

Please sign in to comment.