AI assistance
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
Use yii2-ldap to configure named LdapRecord connections, user synchronization, direct group membership, and optional
password verification. Its canonical source is SKILL.md.
Install in an application
Section titled “Install in an application”Follow the one-time Composer setup to
enable llm/skills. Explicitly trust yii2-extensions/ldap in dependencies.composer.trusted in skills.json. With
auto-sync enabled and a package version that contains the bundle, run:
composer installcomposer skills:showWith auto-sync disabled, run composer skills:update after installing or updating dependencies. To register an
unpublished bundle from a local checkout instead, run:
composer skills:add /absolute/path/to/ldap --skill=yii2-ldapOptional npx installation
Section titled “Optional npx installation”List and install from the checkout:
npx skills@1.7.2 add /absolute/path/to/ldap --listnpx skills@1.7.2 add /absolute/path/to/ldap --skill yii2-ldapVerify discovery and use
Section titled “Verify discovery and use”Start a fresh client session in the application root, confirm that it lists the skill, and invoke it with a small request. For example, in Codex:
$yii2-ldapConfigure separate LDAP accounts for reading users and updating direct group membership. Verify the setup againsta disposable directory.Discovering a bundle, loading it for a task, and passing directory checks are separate. Use the installed package’s revision when choosing documentation. If a checkout lacks the skill or matching guides, inspect its code and PHPDoc rather than substituting another package’s API.