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
Is it possible to log the queries when testing with laravel tinker? If so, can you provide instructions on how to enable it? I reviewed the docs and searched the issues, I don't see any other mention of using Tinker.
I tried messing with the settings to see if that was the reason it wasn't working. I can confirm it doesn't log anything when using tinker with artisan commands enabled. I'd like to suggest it as a feature. Love the package anyway!
Activity
itsgoingd commentedon Apr 7, 2022
I don't think so, unless it works with collecting artisan commands? Have you tried turning it on?
freestyledork commentedon Apr 7, 2022
I tried messing with the settings to see if that was the reason it wasn't working. I can confirm it doesn't log anything when using tinker with artisan commands enabled. I'd like to suggest it as a feature. Love the package anyway!
tminich commentedon Jun 2, 2022
I had a similar need. I solved it with a custom Psy-Shell command:
You need to load the command in your
config.tinker.php(which you need to enable in you.env).fgilio commentedon Sep 19, 2022
Would be useful to also have it working with Tinkerwell