{"id":19527362,"url":"https://github.com/daverandom/ldapi","last_synced_at":"2025-10-07T01:45:02.524Z","repository":{"id":10791653,"uuid":"13061721","full_name":"DaveRandom/LDAPi","owner":"DaveRandom","description":"Simple object oriented wrapper around ext/ldap","archived":false,"fork":false,"pushed_at":"2015-06-08T16:12:15.000Z","size":220,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T20:45:53.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DaveRandom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-24T10:48:58.000Z","updated_at":"2015-03-24T16:35:03.000Z","dependencies_parsed_at":"2022-09-01T22:31:58.120Z","dependency_job_id":null,"html_url":"https://github.com/DaveRandom/LDAPi","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveRandom%2FLDAPi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveRandom%2FLDAPi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveRandom%2FLDAPi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveRandom%2FLDAPi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaveRandom","download_url":"https://codeload.github.com/DaveRandom/LDAPi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240778982,"owners_count":19856140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T01:14:43.823Z","updated_at":"2025-10-07T01:44:57.490Z","avatar_url":"https://github.com/DaveRandom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"LDAPi\n=====\n\nA simple object oriented wrapper around PHP's LDAP extension. No frills, just a slightly cleaner API for use in object oriented applications.\n\nRequirements\n------------\n\n - PHP 5.4.0 or higher\n - ext/ldap\n\nInstallation\n------------\n\nPreferably via [Composer](http://getcomposer.org/).\n\nExample usage\n-------------\n\n    \u003c?php\n\n    $link = new LDAPi\\Directory;\n\n    try {\n        $link-\u003econnect('127.0.0.1', 389);\n        $link-\u003ebind('Manager', 'managerpassword');\n\n        $result = $link-\u003esearch('cn=Users', 'objectClass=User', ['cn']);\n\n        $entry = $result-\u003efirstEntry();\n        do {\n            print_r($entry-\u003egetAttributes());\n        } while($entry = $entry-\u003enextEntry());\n    } catch(LDAPi\\DirectoryOperationFailureException $e) {\n        exit('An error occurred: ' . $e-\u003egetMessage());\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaverandom%2Fldapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaverandom%2Fldapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaverandom%2Fldapi/lists"}