1. Go to this page and download the library: Download b2pweb/bdf-prime-analyzer 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/ */
b2pweb / bdf-prime-analyzer example snippets
public static function createApplication()
{
$app = AnalyzerServiceProvider([
'ignoredPath' => [dirname(__DIR__)],
'dumpFormats' => [
new \Bdf\Prime\Analyzer\Testing\DumpFormat\HtmlDumpFormat(__DIR__.'/prime-report.html'),
new \Bdf\Prime\Analyzer\Testing\DumpFormat\ConsoleDumpFormat(),
],
'ignoredAnalysis' => [],
]));
// ...
return $app;
}