PHP code example of malzariey / production-debugbar
1. Go to this page and download the library: Download malzariey/production-debugbar library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
malzariey / production-debugbar example snippets
return [
"password" => env("PRODUCTION_DEBUGBAR_PASSWORD", "MyPassword"),
];
namespace App\Providers;
use malzariey\ProductionDebugbar\ProductionDebugbar; // Add this use statement
class AppServiceProvider extends ServiceProvider
{
public function boot(): void
{
ProductionDebugbar::check(); // Add this line
// ... rest of your boot method
}
}
bash
php artisan vendor:publish --tag="production-debugbar-config"