PHP Classes

Laravel Debugbar Enable On Demand: Activate the Laravel DebugBar dynamically

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2022-07-04 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 27 All time: 10,644 This week: 180Up
Version License PHP version Categories
laravel-debugbar 1.0.0The PHP License7PHP 5, Debug, Libraries
Description Author

This package can activate the Laravel DebugBar dynamically.

It provides a service for Laravel applications that can make the debug bar show even if it is disabled in the application configuration.

Applications can use this service conditionally in certain circumstances, so this package can make the Laravel Debug appear on the pages when the developers need it.

Innovation Award
PHP Programming Innovation award nominee
July 2022
Number 5
PHP DebugBar is a package that is useful for debugging PHP applications. At the bottom of the current page, it can show several types of debugging information about the execution of the PHP script handling the current HTTP requests.

Laravel DebugBar is a package that turns the PHP DebugBar package into a service that Laravel applications can use.

When developers debug an application, they may not need to show debugging information in all circumstances.

This package only provides the means to enable the debug bar in the Laravel application only in certain circumstances that are useful for the developer who is debugging a Laravel application.

Manuel Lemos
Picture of Laurence Perales
  Performance   Level  
Name: Laurence Perales is available for providing paid consulting. Contact Laurence Perales .
Classes: 3 packages by
Country: Peru Peru
Age: 30
All time rank: 427214 in Peru Peru
Week rank: 170 Up3 in Peru Peru Up
Innovation award
Innovation award
Nominee: 3x

Details

Laravel Debugbar Extension

This package allows you to enable the Debugbar on deman, despite being disabled by configuration.

DEBUGBAR_ENABLED=false

config/app.php

'providers' => [   
    // 
    // Barryvdh\Debugbar\ServiceProvider::class,
    JaguarSoft\LaravelDebugbar\Provider\DebugbarServiceProvider::class,
],
'aliases' => [
    //
    'Debugbar' => Barryvdh\Debugbar\Facade::class,
],

Middleware

public function handle($request, Closure $next){
    if(/your validation/){
        \Debugbar::enable();
    }
    return $next($request);
}

  Files folder image Files  
File Role Description
Files folder imagesrc (2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageMiddleware (1 file)
Files folder imageProvider (1 file)

  Files folder image Files  /  src  /  Middleware  
File Role Description
  Plain text file DebugbarMiddleware.php Class Class source

  Files folder image Files  /  src  /  Provider  
File Role Description
  Plain text file DebugbarServiceProvider.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:27
This week:0
All time:10,644
This week:180Up
For more information send a message to info at phpclasses dot org.