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

dianikol85's avatar

Laravel 4 or Laravel 5?

Hey to all!!

I think many people are in this situation ,me included, where browsing around laracasts for the last one or two months studying laravel 4 but not build something for production market.

We just try to learn all these modern techniques like interfaces and such using laravel 4. Laracasts videos are for the 4 version.

Me for example i'm learning laravel 4. Should i drop it until 5 is out??

You get the dilemma :)

0 likes
8 replies
JeffreyWay's avatar
Level 59

Whether 4 or 5, it's still the same framework. :) Just a handful of differences and optimizations.

If you're asking which version you should go with for a new project right now, then I'd personally pick 5.

10 likes
dianikol85's avatar

Thanks for the quick reply Jeffrey. I was thinking the same. I don't mind the different folder structure anyway. It looks more clear and makes it more framework agnostic to me at least.

bashy's avatar

You can also use the L4 folder structure, so it's backwards compatible.

dianikol85's avatar

Yes I just read about it. No reason to stick to l4 folder structure I guess. L5 is cleaner and more consistent.

Jeffrey should create a more dedicated vid about service providers since l5 heavily uses them :)

JeffreyWay's avatar

There are a bunch of videos on the site about service providers.

simplenotezy's avatar

I am about to create my first project with a framework, Laravel of course. I have found a lot of your great videos on YouTube and look forwarding studying them.

However, I am in doubt if I would cause my self more trouble starting off with Laravel 5. I kinda want to use the latest, but I'm in doubt wether it would be hard for me to follow tutorials etc, since a lot has changed.

What do you think? I'm building a RESTful API for an iOS app, and I am really dependent on articles and tutorials.

Thanks in advance.

visitor from Google

dianikol85's avatar

You won't face any serious probs. The existing tutorials are applicable. In fact I re-done almost all of them without any problem.

The folder structure i think is even more flexible than before and you have some great new features like form validation, so you don't need to implement a sophisticated approach all by yourself.

Since you want to build an api for iOS app try to do the "Incremental APIs" series using the L5 version to see what changes. Not that much i guess.

Please or to participate in this conversation.