Skip to content

docs: document Conditional extender, ApplicationBooted event, and LaravelServiceProvider support - #505

Merged
imorland merged 1 commit into
mainfrom
im/beta-docs-gaps
Feb 25, 2026
Merged

docs: document Conditional extender, ApplicationBooted event, and LaravelServiceProvider support#505
imorland merged 1 commit into
mainfrom
im/beta-docs-gaps

Conversation

@imorland

Copy link
Copy Markdown
Member

Summary

Covers three undocumented additions from the beta.4–beta.7 cycle (identified in a gap review against the framework changelog).

Extend\Conditional — beta.4 (#4287)

  • New ## Conditional Extenders section in settings.md
  • Documents all four methods: whenExtensionEnabled, whenExtensionDisabled, whenSetting, and the underlying when
  • Covers invokable class string form, loose vs strict comparison for whenSetting, and container-resolved callables for when
  • Ref: [2.x] feat: conditional setting extender framework#4287

Flarum\Foundation\Event\ApplicationBooted — beta.7 (#4366)

  • New ## Notable Core Events section in backend-events.md with a ### ApplicationBooted entry
  • Explains timing (fires after all service providers and extenders, before any request), appropriate use cases, and includes a warning that it fires on every request
  • service-provider.md boot process list updated with step 6 linking to this event
  • Ref: [2.x] feat: fire ApplicationBooted after all callbacks have completed framework#4366

ServiceProvider extender accepts Illuminate\Support\ServiceProvider — beta.6 (#4349)

Test plan

🤖 Generated with Claude Code

…avelServiceProvider support

Covers three undocumented additions from the beta.4–beta.7 cycle:

- settings.md: new Conditional Extenders section documenting all four
  methods (whenExtensionEnabled, whenExtensionDisabled, whenSetting, when)
  with examples including invokable class strings and strict comparison
- backend-events.md: new Notable Core Events section with ApplicationBooted
  documented — timing, use case, and a warning that it fires every request
- service-provider.md: add step 6 to boot process (ApplicationBooted event),
  note that Illuminate\Support\ServiceProvider is now also accepted by the
  ServiceProvider extender, with a third-party package example

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@imorland
imorland merged commit 1ecf458 into main Feb 25, 2026
1 check passed
@imorland
imorland deleted the im/beta-docs-gaps branch February 25, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant