Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to run hoborgLabs dashboard from phar file
<?php
$rootPath = getenv('DASHBOARD_ROOT') ? getenv('DASHBOARD_ROOT') : __DIR__ . '/..';
require_once "{$rootPath}/dashboard.phar";
$kernel = new \Hoborg\Dashboard\Kernel($rootPath);
$kernel->setDefaultParam('conf', 'demo');
$kernel->handle(array_merge($_GET, $_POST));
@josegonzalez

This comment has been minimized.

josegonzalez commented Jun 11, 2012

the phar file is no longer available?

@woledzki

This comment has been minimized.

Owner

woledzki commented Jun 11, 2012

doh!... whole get.hoborglabs.com is down. I'm investigating now.

@woledzki

This comment has been minimized.

Owner

woledzki commented Jun 11, 2012

should be back now.

btw. composer.json is coming soon, and new features.
Let me know if you need any help with installation/configuration.

trello board: https://trello.com/board/dashboard/4ea7062eaed5f360a418c6f5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment