PHP code example of arabcoders / profiler

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

    

arabcoders / profiler example snippets




ider = new \arabcoders\profiler\Providers\Tideways();
$handler = new \arabcoders\profiler\Handlers\FileHandler( '/dir/to/save/to' );
$profiler = new \arabcoders\profiler\Profiler( $provider, $handler );

$sampler = new \arabcoders\profiler\Sampler( $profiler, 0, 1 );