PHP code example of sandstorm / plumber
1. Go to this page and download the library: Download sandstorm/plumber 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/ */
sandstorm / plumber example snippets
'Sandstorm\PhpProfiler\Domain\Model\ProfilingRun::startTimer==>microtime' (76) => array(2)
'ct' (2) => integer 10
'wt' (2) => integer 9
bash
# for PHP 8.1
brew install kabel/pecl/[email protected]
# for older versions
brew install tideways/homebrew-profiler/php71-tideways --env=std
echo "tideways.auto_prepend_library=0" >> /usr/local/etc/php/7.1/conf.d/ext-tideways.ini