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

SigalZ's avatar

Upgrade Laravel 5.5 to 5.5.42

Hello,

I just did my first laravel upgrade ever, from 5.4 to 5.5.

Now I need to do 5.5 to 5.5.42 but I don't understand what do I actually need to do?

I don't understand the upgrade guide, I don't see there is anything to do?

Do I need to change anything in my composer.json file?

I just don't understand how adding this: protected static $serialize = true; to the App\Http\Middleware\EncryptCookies middleware will make the version 5.5.42?

Also I am the only developer on this project, this is my own project, so there is no risk of the application's encryption key is in the hands of a malicious party.

I feel like an idiot, but I really don't understand what do I need to do here? blush

Running the artisan command --version says I'm on version 5.5.0

Can someone please help?

0 likes
3 replies
SigalZ's avatar

Sorry, my mistake, my composer says 5.5, I need to change it to 5.5.*

SigalZ's avatar

One more question please, what does this mean? "For this reason, you may wish to add additional logic to your application to validate that your custom cookie values match an expected list of values you expect; otherwise, you should discard them." What do I need to do code wise?

Please or to participate in this conversation.