You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hope it can support php artisan schedule:work and php artisan queue:listen #128
I hope to add performance analysis for operations running in cli mode, such as scheduled tasks, queue listeners, and php artisan schedule:work
php artisan queue:listen
The toggle that enables profiling comes from a cookie value that is automatically set when a _profile request variable is present. If you can improve that logic to also look in the environment variable, when executed from CLI, then probably it will work.
You might get a bunch of notices because of accessing $_REQUEST from CLI, but that is fixable.
Activity
aik099 commentedon Aug 6, 2025
The toggle that enables profiling comes from a cookie value that is automatically set when a
_profilerequest variable is present. If you can improve that logic to also look in the environment variable, when executed from CLI, then probably it will work.You might get a bunch of notices because of accessing
$_REQUESTfrom CLI, but that is fixable.