PHP code example of saxulum / saxulum-webprofiler-provider

1. Go to this page and download the library: Download saxulum/saxulum-webprofiler-provider 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/ */

    

saxulum / saxulum-webprofiler-provider example snippets


$app->register(new Provider\WebProfilerServiceProvider(), array(
    'profiler.cache_dir' => __DIR__.'/../cache/profiler',
    'profiler.mount_prefix' => '/_profiler', // this is the default
));

$app->register(new Saxulum\SaxulumWebProfiler\Provider\SaxulumWebProfilerProvider());