gubler/ad-search-bundle
Composer 安装命令:
composer require gubler/ad-search-bundle
包简介
Active Directory search for Symfony
README 文档
README
This is a Symfony 6 bundle to make searching Active Directory (or other LDAP directories) easier.
| Bundle Version | Symfony Version | PHP Version |
|---|---|---|
| 6.0 | 6.2 | >=8.1 |
| 5.0 | 6.1 | >=8.1 |
| 4.x | 5.0 - 6.0 | >=7.2 |
| 1.2 | >= 4.4 | >=7.0 |
DO NOT USE THE 1.3 Release, it is very broken.
Usage
For full usage documentation, see the documentation.
Example
public function __construct(private ADSearchService $adSearch) { } public function search () { // find all that match a search term $arrayOfUsers = $this->adSearch->search('name'); // find one by GUID $guid = Uuid::fromString('192D7590-6036-4358-9239-BEA350285CA2'); $singleUser = $this->adSearch->find($guid); // find one by search term $singleUser = $this->adSearch->findBy('samaccountname', 'User'); }
Installation
Full details are in the installation documentation.
Installation with composer:
composer require gubler/ad-search-bundle
Configuration
Configuration details are in the configuration documentation.
统计信息
- 总下载量: 232
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-04