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

baiselmareo6's avatar

What are your Laravel best practices?

I'm an experienced web dev (10+ years mostly Ruby/JS) but new to PHP and Laravel. I inherited a project written in Laravel and would like to get up to speed on best practices. What would you recommend for me?

0 likes
3 replies
MarianoMoreyra's avatar

Also, you can take a look at this guide:

http://www.laravelbestpractices.com/

Although it's just a guide, and of course there are some things that you'll be advice to do it different here and you'll find yourself that others just don't apply to your project.

But it is a great starting point and it has a lot of interesting naming conventions and definitions that will save you some time to get you up and running in less time!

Hope it helps!

jlrdw's avatar

Also as you are learning, pay good attention to laravel conventions, naming, foreign keys, etc. It makes things a lot easier. And as mentioned, those videos are going to teach best practices.

Please or to participate in this conversation.