Download the PHP package tecnical/adldap without Composer

On this page you can find all versions of the php package tecnical/adldap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package adldap

FORK

This fork is to reflect the latest changes on master to packagist.

Currently on commit ee471d2243 of adldap/adLDAP

Current release: v4.0.5

I'll delete this repo if they decide to actively develop and tag adldap/adLDAP again.

PHP LDAP CLASS FOR MANIPULATING ACTIVE DIRECTORY

Current Stable Version 4.0.0 https://github.com/adldap/adLDAP/releases/tag/v4.0.4

Next Version 5.0.0

Written by Scott Barnett, Richard Hyland email: [email protected], [email protected] https://github.com/adldap/adLDAP/

ABOUT

adLDAP is a PHP class that provides LDAP authentication and integration with Active Directory.

We'd appreciate any improvements or additions to be submitted back to benefit the entire community :)

REQUIREMENTS

adLDAP requires PHP 5 and both the LDAP (http://php.net/ldap) and SSL (http://php.net/openssl) libraries adLDAP version 5.0.0 will require PHP 5.3+

INSTALLATION

adLDAP is not an application, but a class library designed to integrate into your own applications.

The core of adLDAP is contained in the 'lib/adLDAP' directory. Simply copy/rename this directory inside your own projects.

Edit the file lib/adldap/adLDAP.php and change the configuration variables near the top, specifically those for domain controllers, base dn and account suffix, and if you want to perform anything more complex than use authentication you'll also need to set the admin username and password variables too.

From within your code simply require the adLDAP.php file and call it like so

use \adLDAP;
require_once(dirname(__FILE__) . '/adLDAP.php');
$adldap = new adLDAP();

It would be better to wrap it in a try/catch though

use \adLDAP;
try {
    $adldap = new adLDAP();
}
catch (adLDAPException $e) {
    echo $e;
    exit();
}

Then simply call commands against it e.g.

$adldap->authenticate($username, $password);

or

$adldap->group()->members($groupName);

DOCUMENTATION

You can find our website at https://github.com/adldap/adLDAP/ or the class documentation at

https://github.com/adldap/adLDAP/wiki/adLDAP-Developer-API-Reference

LICENSE

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details or LICENSE.txt distributed with this class.


All versions of adldap with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tecnical/adldap contains the following files

Loading the files please wait ....