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

joshmanders's avatar

PSA: Laravel 5 Codename: Awesomesauce (given by me) WILL break. A lot.

Guys, calm down. Laravel 5.0 "Awesomesauce" is in heavy development. It's going to break, and it's going to happen a lot. Sometimes things can break in the middle of composer update calls.

DO NOT BUILD AN ACTUAL APP IN 5.0 UNLESS YOU UNDERSTAND THIS!

If you absolutely undeniably need to use 5.0 over 4.2 then find a commit that doesn't have broken code in, and lock your composer.json to that commit using the following:

"laravel/framework": "~5.0#commit-hash-here"

Then you won't have to worry about the framework being updated and breaking on you if you add a new package or something.

If you want to move that hash to a newer one, go ahead. But be aware that you will have to fix breaking stuff.

Thanks for listening.

0 likes
3 replies
sitesense's avatar

Nicely put and I agree! Just getting the popcorn ready for all the problems raised when people literally put "#commit-hash-here". :)

3 likes
mikebronner's avatar

Oh, that's a nice feature of composer I wasn't aware of! Thanks for sharing. :)

Please or to participate in this conversation.