docs: document Conditional extender, ApplicationBooted event, and LaravelServiceProvider support - #505
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)## Conditional Extenderssection insettings.mdwhenExtensionEnabled,whenExtensionDisabled,whenSetting, and the underlyingwhenwhenSetting, and container-resolved callables forwhenFlarum\Foundation\Event\ApplicationBooted— beta.7 (#4366)## Notable Core Eventssection inbackend-events.mdwith a### ApplicationBootedentryservice-provider.mdboot process list updated with step 6 linking to this eventApplicationBootedafter all callbacks have completed framework#4366ServiceProviderextender acceptsIlluminate\Support\ServiceProvider— beta.6 (#4349)service-provider.mdupdated to note that bare Laravel service providers are now acceptedTest plan
Conditional::whenSettingloose/strict comparison examples against [2.x] feat: conditional setting extender framework#4287ApplicationBootedtiming description against [2.x] feat: fireApplicationBootedafter all callbacks have completed framework#4366ServiceProviderextender acceptsIlluminate\Support\ServiceProvideragainst [2.x] chore: allow LaravelServiceProvider or AbstractServiceProvider framework#4349🤖 Generated with Claude Code