PHP code example of zoilomora / elastic-apm-agent-php
1. Go to this page and download the library: Download zoilomora/elastic-apm-agent-php 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/ */
zoilomora / elastic-apm-agent-php example snippets
class OwnerReporter implements \ZoiloMora\ElasticAPM\Reporter\Reporter
{
/**
* @param array $events
*
* @return void
*/
public function report(array $events)
{
// TODO: Implement report() method.
}
}
shell script
composer