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

emmanuelkatto24's avatar

Emmanuel Katto Dubai : Is there a way to manually boot Laravel 11 in a PHP file? What code do I need?

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

0 likes
2 replies

Please or to participate in this conversation.