{"id":20904597,"url":"https://github.com/ethercap/yii2-ledap-example","last_synced_at":"2026-01-08T09:54:55.024Z","repository":{"id":56979655,"uuid":"273457322","full_name":"ethercap/yii2-ledap-example","owner":"ethercap","description":"an example for yii2-ledap","archived":false,"fork":false,"pushed_at":"2020-07-14T09:30:50.000Z","size":186,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-07T17:48:48.807Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ethercap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-19T09:42:04.000Z","updated_at":"2021-07-02T17:54:23.000Z","dependencies_parsed_at":"2022-08-21T10:50:13.983Z","dependency_job_id":null,"html_url":"https://github.com/ethercap/yii2-ledap-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercap%2Fyii2-ledap-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercap%2Fyii2-ledap-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercap%2Fyii2-ledap-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercap%2Fyii2-ledap-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethercap","download_url":"https://codeload.github.com/ethercap/yii2-ledap-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246747235,"owners_count":20827109,"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-18T13:17:57.824Z","updated_at":"2026-01-08T09:54:54.980Z","avatar_url":"https://github.com/ethercap.png","language":"PHP","readme":"# yii2-ledap-example\n========================\n\n\n安装\n------------\n\n推荐的方式是通过composer 进行下载安装[composer](http://getcomposer.org/download/)。\n\n在命令行执行\n```\nphp composer.phar require \"ethercap/yii2-ledap-example\" \"dev-master\"\n```\n\n或加入\n\n```\n\"ethercap/yii2-ledap-example\": \"dev-master\"\n```\n\n到你的`composer.json`文件中的require段。\n\n使用\n-----\n\n**module配置**\n\n一旦你安装了这个插件，你就可以直接在yii2的配置文件中加入如下的代码：\n\n\n```php\nreturn [\n    'modules' =\u003e [\n        'ledap' =\u003e [\n            'class' =\u003e '\\ethercap\\ledapExample\\Module',\n        ],\n    ],\n];\n```\n然后需要把静态资源放置到web目录下：\n\n```bash\ncd your_project\n#注意需要保证web用户有权限访问这个目录，否则页面会无法加载\nln -s `pwd`/vendor/ethercap/yii2-ledap-example/src/webroot frontend/web/js/ledap\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethercap%2Fyii2-ledap-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethercap%2Fyii2-ledap-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethercap%2Fyii2-ledap-example/lists"}