PHP code example of elephox / inspector
1. Go to this page and download the library: Download elephox/inspector 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/ */
elephox / inspector example snippets
// bin/run
// create your console app builder
$builder = ConsoleApplicationBuilder::create()
->addLogging()
->addWhoops()
;
// load your app commands
$builder->commands->loadFromNamespace("App\\Commands");
// load the inspector commands
$builder->commands->loadFromNamespace("Elephox\\Inspector\\Commands");