Code Monkey home page Code Monkey logo

phpldapapi's Introduction

PHPLdapAPI

Open source PHP (with Slim micro framework) Ldap API.

Description

This project based on Slim Framework 3 and use Adldap2 package for LDAP jobs. I need an API in PHP working with LDAP. But I can't found any open source project at Github or another sites. For this reason I want to share this project and a small support to Open Source world.

How to Install It?

Clone this repository to your local: git clone https://github.com/mvatansever/PHPLdapAPI.git

Install dependencies with composer: composer install

Configurations

Should be copy config/.php.dist files to config/.php with you configurations.

  • In config/auth.php must be set your Basic Authentication informations.
  • In config/connection.php must be set your Ldap server configs.
  • In config/settings.php applications options or any other options what you want. In this file exist 1 option default. basic_auth default value is true. If don't want to use basic authentication this option must be set to false.

Basic Authentication

You should use username and password for Basic Authentication on API request with these headers:

  • BASIC-AUTH-USERNAME
  • BASIC-AUTH-PASSWORD

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.