Skip to content

A free open source IT asset/license management system

Install v4 of laravel debugbar

Marcus Moore70baa60521b4
diff --git a/app/Helpers/DisablesDebugbar.php b/app/Helpers/DisablesDebugbar.php
index 481758d83a..194b98336f 100644
--- a/app/Helpers/DisablesDebugbar.php
+++ b/app/Helpers/DisablesDebugbar.php
@@ -6,8 +6,8 @@ trait DisablesDebugbar
{
public function disableDebugbar()
{
- if (class_exists(\Barryvdh\Debugbar\Facades\Debugbar::class)) {
- \Barryvdh\Debugbar\Facades\Debugbar::disable();
+ if (class_exists(\Fruitcake\LaravelDebugbar\Facades\Debugbar::class)) {
+ \Fruitcake\LaravelDebugbar\Facades\Debugbar::disable();
}
}
}
diff --git a/composer.json b/composer.json
index a9d36a27aa..ab34da3775 100644
--- a/composer.json
+++ b/composer.json
@@ -83,6 +83,7 @@
"ext-exif": "*"
},
"require-dev": {
+ "fruitcake/laravel-debugbar": "^4.0",
"larastan/larastan": "^2.9",
"laravel/telescope": "^5.11",
"mockery/mockery": "^1.4",
diff --git a/composer.lock b/composer.lock
index 817707b0ad..185c2e386f 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "849961a6366fbb6b47fd506281e37887",
+ "content-hash": "895ab3cf22a77918f3239ef4774d628b",
"packages": [
{
"name": "alek13/slack",
@@ -12601,6 +12601,108 @@
],
"time": "2025-09-10T09:51:40+00:00"
},
+ {
+ "name": "fruitcake/laravel-debugbar",
+ "version": "v4.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/fruitcake/laravel-debugbar.git",
+ "reference": "9eec3770a304c52d1dd71577b44bbb9ab904f5d8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/9eec3770a304c52d1dd71577b44bbb9ab904f5d8",
+ "reference": "9eec3770a304c52d1dd71577b44bbb9ab904f5d8",
+ "shasum": ""
+ },
+ "require": {
+ "illuminate/routing": "^11|^12",
+ "illuminate/session": "^11|^12",
+ "illuminate/support": "^11|^12",
+ "php": "^8.2",
+ "php-debugbar/php-debugbar": "^3.1",
+ "php-debugbar/symfony-bridge": "^1.1"
+ },
+ "replace": {
+ "barryvdh/laravel-debugbar": "self.version"
+ },
+ "require-dev": {
+ "larastan/larastan": "^3",
+ "laravel/octane": "^2",
+ "laravel/pennant": "^1",
+ "laravel/pint": "^1",
+ "laravel/telescope": "^5.16",
+ "livewire/livewire": "^3.7|^4",
+ "mockery/mockery": "^1.3.3",
+ "orchestra/testbench-dusk": "^9|^10",
+ "php-debugbar/twig-bridge": "^2.0",
+ "phpstan/phpstan-phpunit": "^2",
+ "phpstan/phpstan-strict-rules": "^2.0",
+ "phpunit/phpunit": "^11",
+ "shipmonk/phpstan-rules": "^4.3"
+ },
+ "type": "library",
+ "extra": {
+ "laravel": {
+ "aliases": {
+ "Debugbar": "Fruitcake\\LaravelDebugbar\\Facades\\Debugbar"
+ },
+ "providers": [
+ "Fruitcake\\LaravelDebugbar\\ServiceProvider"
+ ]
+ },
+ "branch-alias": {
+ "dev-master": "4.0-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/helpers.php"
+ ],
+ "psr-4": {
+ "Fruitcake\\LaravelDebugbar\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fruitcake",
+ "homepage": "https://fruitcake.nl"
+ },
+ {
+ "name": "Barry vd. Heuvel",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "PHP Debugbar integration for Laravel",
+ "keywords": [
+ "barryvdh",
+ "debug",
+ "debugbar",
+ "dev",
+ "laravel",
+ "profiler",
+ "webprofiler"
+ ],
+ "support": {
+ "issues": "https://github.com/fruitcake/laravel-debugbar/issues",
+ "source": "https://github.com/fruitcake/laravel-debugbar/tree/v4.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://fruitcake.nl",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/barryvdh",
+ "type": "github"
+ }
+ ],
+ "time": "2026-01-26T18:25:58+00:00"
+ },
{
"name": "hamcrest/hamcrest-php",
"version": "v2.1.1",
@@ -13438,6 +13540,174 @@
},
"time": "2022-02-21T01:04:05+00:00"
},
+ {
+ "name": "php-debugbar/php-debugbar",
+ "version": "v3.2.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-debugbar/php-debugbar.git",
+ "reference": "a1f4e156811f000efb6e118178832581fab94f11"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-debugbar/php-debugbar/zipball/a1f4e156811f000efb6e118178832581fab94f11",
+ "reference": "a1f4e156811f000efb6e118178832581fab94f11",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^8.2",
+ "psr/log": "^1|^2|^3",
+ "symfony/var-dumper": "^5.4|^6|^7|^8"
+ },
+ "replace": {
+ "maximebf/debugbar": "self.version"
+ },
+ "require-dev": {
+ "dbrekelmans/bdi": "^1.4",
+ "friendsofphp/php-cs-fixer": "^3.92",
+ "monolog/monolog": "^3.9",
+ "php-debugbar/doctrine-bridge": "^3@dev",
+ "php-debugbar/monolog-bridge": "^1@dev",
+ "php-debugbar/symfony-bridge": "^1@dev",
+ "php-debugbar/twig-bridge": "^2@dev",
+ "phpstan/phpstan": "^2.1",
+ "phpstan/phpstan-phpunit": "^2.0",
+ "phpstan/phpstan-strict-rules": "^2.0",
+ "phpunit/phpunit": "^10",
+ "predis/predis": "^3.3",
+ "shipmonk/phpstan-rules": "^4.3",
+ "symfony/browser-kit": "^6.4|7.0",
+ "symfony/dom-crawler": "^6.4|^7",
+ "symfony/event-dispatcher": "^5.4|^6.4|^7.3|^8.0",
+ "symfony/http-foundation": "^5.4|^6.4|^7.3|^8.0",
+ "symfony/mailer": "^5.4|^6.4|^7.3|^8.0",
+ "symfony/panther": "^1|^2.1",
+ "twig/twig": "^3.11.2"
+ },
+ "suggest": {
+ "php-debugbar/doctrine-bridge": "To integrate Doctrine with php-debugbar.",
+ "php-debugbar/monolog-bridge": "To integrate Monolog with php-debugbar.",
+ "php-debugbar/symfony-bridge": "To integrate Symfony with php-debugbar.",
+ "php-debugbar/twig-bridge": "To integrate Twig with php-debugbar."
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "DebugBar\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Maxime Bouroumeau-Fuseau",
+ "email": "[email protected]",
+ "homepage": "http://maximebf.com"
+ },
+ {
+ "name": "Barry vd. Heuvel",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "Debug bar in the browser for php application",
+ "homepage": "https://github.com/php-debugbar/php-debugbar",
+ "keywords": [
+ "debug",
+ "debug bar",
+ "debugbar",
+ "dev",
+ "profiler",
+ "toolbar"
+ ],
+ "support": {
+ "issues": "https://github.com/php-debugbar/php-debugbar/issues",
+ "source": "https://github.com/php-debugbar/php-debugbar/tree/v3.2.2"
+ },
+ "funding": [
+ {
+ "url": "https://fruitcake.nl",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/barryvdh",
+ "type": "github"
+ }
+ ],
+ "time": "2026-01-25T20:59:56+00:00"
+ },
+ {
+ "name": "php-debugbar/symfony-bridge",
+ "version": "v1.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-debugbar/symfony-bridge.git",
+ "reference": "e37d2debe5d316408b00d0ab2688d9c2cf59b5ad"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-debugbar/symfony-bridge/zipball/e37d2debe5d316408b00d0ab2688d9c2cf59b5ad",
+ "reference": "e37d2debe5d316408b00d0ab2688d9c2cf59b5ad",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^8.2",
+ "php-debugbar/php-debugbar": "^3.1",
+ "symfony/http-foundation": "^5.4|^6.4|^7.3|^8.0"
+ },
+ "require-dev": {
+ "dbrekelmans/bdi": "^1.4",
+ "phpunit/phpunit": "^10",
+ "symfony/browser-kit": "^6|^7",
+ "symfony/dom-crawler": "^6|^7",
+ "symfony/mailer": "^5.4|^6.4|^7.3|^8.0",
+ "symfony/panther": "^1|^2.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "DebugBar\\Bridge\\Symfony\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Maxime Bouroumeau-Fuseau",
+ "email": "[email protected]",
+ "homepage": "http://maximebf.com"
+ },
+ {
+ "name": "Barry vd. Heuvel",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "Symfony bridge for PHP Debugbar",
+ "homepage": "https://github.com/php-debugbar/php-debugbar",
+ "keywords": [
+ "debugbar",
+ "dev",
+ "symfony"
+ ],
+ "support": {
+ "issues": "https://github.com/php-debugbar/symfony-bridge/issues",
+ "source": "https://github.com/php-debugbar/symfony-bridge/tree/v1.1.0"
+ },
+ "time": "2026-01-15T14:47:34+00:00"
+ },
{
"name": "php-mock/php-mock",
"version": "2.6.2",