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

msherifi's avatar

How is the best way to structure PHP project?

I want to start a project in PHP example and I want to use composer, sass, vue.js etc. How would you recommend me to structure the folders?

0 likes
3 replies
zachleigh's avatar

Are you going to use Laravel? If so, just stick with the standard Laravel file structure.

joedawson's avatar

You might get this question because you're asking on a Laravel related forum, any particular reason why you're not using Laravel or a similar framework?

Please or to participate in this conversation.