PHP code example of grazulex / laravel-chronotrace
1. Go to this page and download the library: Download grazulex/laravel-chronotrace 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/ */
grazulex / laravel-chronotrace example snippets
bash
# Record a specific endpoint
php artisan chronotrace:record /api/users
# Record with POST data
php artisan chronotrace:record /api/users \
--method=POST \
--data='{"name":"John","email":"[email protected]"}'
# Record with custom headers
php artisan chronotrace:record /api/protected \
--method=GET \
--headers='{"Authorization":"Bearer token123"}'