Level 12
@emmanuelkatto24 Wouldn't it be possible to use console routes instead of using .php files?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi Everyone, I'm Emmanuel Katto from Dubai, United Arab Emirates (UAE), I’m executing a PHP file from the terminal with php file.php, and it's located in the root directory of my Laravel 11 project. How can I manually boot the Laravel app in this file to use Eloquent and other modules?
Regards Emmanuel Katto
Please or to participate in this conversation.