Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit e47a2b3

Browse files
committed
Added docs
1 parent 97233a6 commit e47a2b3

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
11
# Adldap2 - Laravel
22

3+
## Installation
4+
5+
First, insert Adldap2-Laravel into your `composer.json` file:
6+
7+
"adldap2\adldap2-laravel": "1.0.*",
8+
9+
Then run `composer update`.
10+
11+
Once finished, insert the service provider in your `config/app.php` file:
12+
13+
Adldap\Laravel\AdldapServiceProvider::class,
14+
15+
Then insert the facade:
16+
17+
'Adldap' => Adldap\Laravel\Facades\Adldap::class,
18+
19+
Now you're all set!
20+
21+
## Usage
22+
23+
You can perform all methods on Adldap through its facade like so:
24+
25+
$user = Adldap::users()->find('john doe');
26+
27+
$search = Adldap::search()->where('cn', '=', 'John Doe')->get();

tests/AdldapTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ public function testConfigurationNotFoundException()
1818

1919
public function testIsBound()
2020
{
21-
21+
2222
}
2323
}

0 commit comments

Comments
 (0)