Download the PHP package rocont/laravel-blade-debugbar without Composer
On this page you can find all versions of the php package rocont/laravel-blade-debugbar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-blade-debugbar
Laravel Blade Debugbar
A Laravel Debugbar extension that adds a Blade Variables tab showing all variables passed to Blade views.
Features
- Displays all variables passed to each Blade template in a dump()-like format
- Automatically filters out Laravel system variables (
__env,app,errors, etc.) - Converts Eloquent models and collections to arrays for readable output
- Marks or hides shared variables (
View::share()) - Optional grouping by view name
- Alphabetical sorting
Requirements
- PHP 8.0+
- Laravel 9, 10, 11, or 12
- barryvdh/laravel-debugbar 3.7+
Installation
The service provider is registered automatically via Laravel Package Discovery.
Configuration
Publish the config file:
This creates config/blade-debugbar.php:
Options
| Option | Values | Default | Description |
|---|---|---|---|
group_by_view |
true / false |
false |
Group variables by Blade view name |
excluded_variables |
array |
[] |
Additional variable names to exclude |
shared_mode |
mark / hide / show |
mark |
How to display shared variables |
Shared mode
mark— shared variables are shown with a[shared]prefix, e.g.[shared] $currentUserhide— shared variables are excluded completelyshow— shared variables are shown without any distinction
Usage
Once installed, open any page in your Laravel app. The Debugbar will show a new Blade Variables tab with all variables passed to each rendered Blade template.
Example output
Flat mode (group_by_view: false):
Grouped mode (group_by_view: true):
Testing
Or directly:
License
MIT
All versions of laravel-blade-debugbar with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/view Version ^9.0|^10.0|^11.0|^12.0
fruitcake/laravel-debugbar Version ^4.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/view Version ^9.0|^10.0|^11.0|^12.0
fruitcake/laravel-debugbar Version ^4.0
The package rocont/laravel-blade-debugbar contains the following files
Loading the files please wait ...