PHP code example of clcbws / laravel-agents-debug
1. Go to this page and download the library: Download clcbws/laravel-agents-debug 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/ */
clcbws / laravel-agents-debug example snippets
bash
composer vendor:publish --provider="LaravelAgentDebugger\DebugActivityServiceProvider"
php artisan agent:debug-on
bash
php artisan agent:debug-on # Enable profiling
php artisan agent:debug-off # Disable profiling
php artisan agent:debug-status # Show current config & storage footprint
php artisan agent:debug-clean # Purge log files (--days=X optional)
php artisan agent:debug-tail # Live CLI log stream
php artisan agent:debug-record # Export session as portable .md/.json bundle