2017 © Pedro Peláez
 

symfony-bundle ad-search-bundle

Active Directory search for Symfony

image

gubler/ad-search-bundle

Active Directory search for Symfony

  • Wednesday, May 16, 2018
  • by dev88
  • Repository
  • 1 Watchers
  • 0 Stars
  • 68 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 20 Versions
  • 8 % Grown

The README.md

GublerADSearchBundle

This is a Symfony 6 bundle to make searching Active Directory (or other LDAP directories) easier., (*1)

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., (*2)

Usage

For full usage documentation, see the documentation., (*3)

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., (*4)

Installation with composer:, (*5)

composer require gubler/ad-search-bundle

Configuration

Configuration details are in the configuration documentation., (*6)

The Versions