Level 60
usually when you use Sail, you don't have PHP installed on your local machine, so sail artisan will run php from the container
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Why is replacing the PHP keyword with SAIL necessary when I have to run artisan commands while working with Laravel Sail and Docker?
Please or to participate in this conversation.