PHP code example of ecocode / magento_profiler

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

    

ecocode / magento_profiler example snippets


location /dev.php/ {
    rewrite / /dev.php;
}
fastcgi_param ALLOW_PROFILER '1';