Skip to content

Register Config as App-Scoped DI Service #380

Description

@armanist
  • Remove static ownership
  • Preserve mutation behavior

Tasks

  • Create Config during boot
  • Register via Di::set(Config::class, $config)
  • Ensure config() resolves from DI

Acceptance Criteria

  • One Config per App execution
  • Runtime import() continues to work

Activity

  1. added this to the 3.0.0 milestone on Dec 28, 2025
  2. self-assigned this
    on Apr 7, 2026
  3. added 2 commits that reference this issue on Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions