PHP code example of turbo124 / collector
1. Go to this page and download the library: Download turbo124/collector 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/ */
turbo124 / collector example snippets
php
LightLogs::create(new GenericCounter())
->increment()
->batch();
php
LightLogs::create(new GenericCounter())
->increment()
->send();
php
LightLogs::create(new GenericCounter())
->increment()
->queue();