Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

2015u058's avatar

PHP Question

Can PHP be executed on the command line?

0 likes
3 replies
Tray2's avatar

Yes that is what you are doing every time you run php artisan

So php + your scripts name should be enough.

1 like

Please or to participate in this conversation.