wirebox-di

Official

Master WireBox dependency injection effectively

AuthorColdBox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

WireBox DI simplifies and centralizes the creation, wiring, and lifecycle management of application components so developers avoid manual object construction, brittle coupling, and scope-widening errors.

Core Features & Use Cases

  • Binder configuration and mapping DSL to register aliases, paths, directories, and factory methods for consistent object resolution.
  • Scope and lifecycle management including singletons, request/session/application scopes, CacheBox persistence, and Provider patterns to prevent scope-widening.
  • Advanced patterns: child injectors for isolation, virtual inheritance, lazy properties, property observers, object delegation, and an object populator for hydrating components from structs, JSON, XML, or queries.

Quick Start

Generate a binder configuration that maps your service classes, demonstrates provider-based injection to avoid scope-widening, and resolves an instance using getInstance.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wirebox-di
Download link: https://github.com/ColdBox/skills/archive/main.zip#wirebox-di

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.