Laravel Core Adventures Logo

The Lost Eloquent Temple of Doom


Level 6 - Accessors & Mutators

If you need to change model attributes on the fly, Laravel has got your back. With an Accessor, you can modify the attribute coming from the database. On the other side, a mutator lets you change it while setting, so you can change the content before it gets stored to the database.

How's your adventure going? Join the Laravel Core Adventurer Guild to be the first to receive updates on new mysteries to uncover.

Who's your trusted guide in these videos?

Photo of Christoph Rumpel

Hi! My name is Christoph Rumpel, and I'm a web developer from Vienna, Austria. I have been working with Laravel since version 4, and it is part of my daily work since then.

In 2018, I released my first ebook, and video course, which are about chatbots. Laravel Core Adventures is my new project.