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
When generating, utilize sail artisan instead of php artisan outside of the Sail container to echo model JSON. Within the Docker container, we can invoke php artisan model:show if Sail is being used. However, outside the Docker container, calling artisan model:show via PHP is not possible; we need to use sail.
Could I try this issue? If it's ok, I will create PR.
Solution
add sail option
if sail option is enabled, use sail artisan instead of php artisan
The text was updated successfully, but these errors were encountered:
Summary
When generating, utilize sail artisan instead of php artisan outside of the Sail container to echo model JSON. Within the Docker container, we can invoke php artisan model:show if Sail is being used. However, outside the Docker container, calling artisan model:show via PHP is not possible; we need to use sail.
Could I try this issue? If it's ok, I will create PR.
Solution
sail
optionsail
option is enabled, usesail artisan
instead ofphp artisan
The text was updated successfully, but these errors were encountered: