|
12 | 12 |
|
13 | 13 | ## Installation
|
14 | 14 |
|
15 | | -[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required. |
| 15 | +[PHP](https://php.net) 7.1+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required. |
16 | 16 |
|
17 | 17 | To get the latest version of Laravel Identify, simply add the following line to the require block of your `composer.json` file.
|
18 | 18 |
|
19 | 19 | ```
|
20 | | -"unicodeveloper/laravel-identify": "1.1.*" |
| 20 | +"unicodeveloper/laravel-identify": "1.7.*" |
21 | 21 | ```
|
22 | 22 |
|
23 | 23 | You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.
|
24 | 24 |
|
25 | | -Once Laravel Identify is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key. |
| 25 | +- If you're on Laravel 5.5 or above, that's all you need to do! Check out the usage examples below. |
| 26 | +- If you're on Laravel < 5.5, you'll need to register the service provider once the package is installed. Open up `config/app.php` and add the following to the `providers` array: |
26 | 27 |
|
27 | 28 | * `Unicodeveloper\Identify\IdentifyServiceProvider::class`
|
28 | 29 |
|
|
0 commit comments