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

RomanY's avatar

move config folder to a different location

Hey,

I am using Laravel framework as a backend for my app, and I am using Amazon CodeDeploy to deploy my code to the server. I would like Laravel framework to load the config folder from a different location then it does now, since I want to deploy all the framework as one repository, and the config as a different one, without them being dependent.

Is it possible to move the config folder outside of the framework's location, and define the path in Laravel?

0 likes
0 replies

Please or to participate in this conversation.