Skill / SKILL.md

Dependency Injection

garrettw/php-arch-skills

Use this skill when wiring dependencies, configuring a DI container, designing plugin/extension points, or migrating away from legacy service locators in PHP. Triggers on questions about constructor injection, interface registration, swapping implementations, or testing without booting the container.
4 views 16 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use this skill when wiring dependencies, configuring a DI container, designing plugin/extension points, or migrating away from legacy service locators in PHP. Triggers on questions about constructor injection, interface registration, swapping implementations, or testing without booting the container.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/garrettw/php-arch-skills' skill-source

Use the complete skill-source/skills/dependency-injection directory with your client’s skill installer.

  • skills/dependency-injection

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/dependency-injection

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
020a216dd80f466b66736742cdeb8e62e20ba4e2fcbd35245f2084ca69125036
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills