Skip to content

Bumped Debugbar to v4#18485

Open
marcusmoore wants to merge 12 commits intogrokability:developfrom
marcusmoore:debugbar
Open

Bumped Debugbar to v4#18485
marcusmoore wants to merge 12 commits intogrokability:developfrom
marcusmoore:debugbar

Conversation

@marcusmoore
Copy link
Collaborator

This PR upgrades Laravel Debugbar to version 4.

There isn't a lot that changes for us in this version but it doesn't hurt to keep dependencies up to date.

Keeping #14899 in mind, I moved the package back to being a dev dependency and added some logic (via a trait) to disable Debugbar if it is installed.

I also pulled in the new configuration file and updated it to match the settings we had for v3.

Note: symfony/http-foundation was updated (v7.3.7 => v7.4.4) and I had to update a couple tests (UTF-8 => utf-8).

@marcusmoore marcusmoore requested a review from snipe as a code owner January 26, 2026 22:54
@snipe
Copy link
Member

snipe commented Jan 28, 2026

IIRC, we specifically chose not to make this a dev dependency though.

@marcusmoore
Copy link
Collaborator Author

@snipe #14899 moved it back to a regular dependency because it is used in some controllers.

I tracked down the packages Debugbar facade call in those controllers and replaced it with the trait method call:
image

That screenshot is for the entire project and it looks like we're not calling the facade elsewhere. The actual service class, isn't used directly either:
image


I can move it back to a dev dependency if you prefer though.

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.

2 participants