PHP code example of spatie / flare-daemon
1. Go to this page and download the library: Download spatie/flare-daemon 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/ */
spatie / flare-daemon example snippets
PHP app ──HTTP──▸ daemon (local) ──HTTP──▸ Flare ingress
bash
php vendor/bin/flare-daemon
bash
php build/daemon.phar
bash
php build/daemon.phar --verbose
bash
php src/daemon.php --verbose &
bash tests/test.sh YOUR_API_KEY
bash
php src/daemon.php --test &
k6 run loadtest/loadtest.js