1. Go to this page and download the library: Download phpfui/instadoc 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/ */
phpfui / instadoc example snippets
ass the directory containing your composer.json file
$fileManager = new \PHPFUI\InstaDoc\FileManager('../');
// add your App class tree in, pass true as the last parameter if this namespace is in your local git repo.
$fileManager->addNamespace('App', '../App', true);
// load your cached files
$fileManager->load();
// load child classes if you want to display them, if you don't do this step, docs will not show classes that extend the displayed class
\PHPFUI\InstaDoc\ChildClasses::load();
// get the controller
$controller = new \PHPFUI\InstaDoc\Controller($fileManager);
// display will return a fully formed page
echo $controller->display();