mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-06-11 00:21:16 +02:00
17 lines
374 B
PHP
17 lines
374 B
PHP
<?php
|
|
|
|
include __DIR__ . '/vendor/autoload.php';
|
|
include __DIR__ . '/../../bootstrap.php';
|
|
|
|
$debugbarRenderer->setBaseUrl('../../../src/DebugBar/Resources');
|
|
|
|
$app = new \Slim\Slim();
|
|
$app->get('/', function () use ($app) {
|
|
$app->getLog()->info('hello world');
|
|
render_demo_page();
|
|
});
|
|
|
|
$debugbar->addCollector(new DebugBar\Bridge\SlimCollector($app));
|
|
|
|
$app->run();
|