diff --git a/README.md b/README.md index b90191a..639f9d6 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,16 @@ Provides an solution for authentication users with LDAP for Laravel 5.x. It uses - [Laravel 5.2 - ...](#laravel-52---) ## Laravel 5.1 - 5.0 -1. Install this package through Composer +1. Install this package through Composer by adding the following line to `composer.json` ```js "dsdevbe/ldap-connector": "3.0.*" ``` + or you could use command-line + ```js + composer require "dsdevbe/ldap-connector:3.0.*" + ``` + 1. Add the service provider in the app configuration by opening `config/app.php`, and add a new item to the providers array. ``` @@ -80,11 +85,16 @@ Laravel documentation: [Authentication Quickstart](http://laravel.com/docs/maste - `Auth::user()->getEmail()` returns authenticated email address. ## Laravel 5.2 - ... -1. Install this package through Composer +1. Install this package through Composer by adding the following line to `composer.json` ```js - "dsdevbe/ldap-connector": "4.0.*" + "dsdevbe/ldap-connector": "4.0.*" ``` - + + or you could use command-line + ```js + composer require "dsdevbe/ldap-connector:4.0.*" + ``` + 1. Add the service provider in the app configuration by opening `config/app.php`, and add a new item to the providers array. ```