What problem does it solve?
Standard CodeIgniter 4 documentation does not cover patterns for building extensible plugin systems, addon architectures, or workflows that require code to live outside the default app/ directory. This Skill fills that gap with proven, production-ready techniques for integrating external code with CI4's core subsystems.
Core Features & Use Cases
- Runtime Namespace Registration: Dynamically register external namespaces at boot time so CI4 can resolve controllers, models, and other classes from non-standard paths.
- External Subsystem Integration: Run migrations, seeders, Spark commands, View Cells, and filters from code outside the app/ directory.
- Extensible Configuration: Use the Registrar pattern and module auto-discovery to let addons ship their own config, routes, services, and filters without modifying core app files.
- Use Case: Build a modular CI4 application where third-party addons live in a /plugins directory, each with their own migrations, CLI commands, and route definitions that load automatically when the addon is activated.
Quick Start
Use the ci4-advanced skill to configure runtime namespace registration for your CodeIgniter 4 plugin system so external addon controllers, migrations, and Spark commands are automatically discoverable without modifying core app files.