Latest Premium Tutorial

  • · 9 mins, 1770 words · premium

    Value Objects and Data (Transfer) Objects in Laravel

    Historically, PHP has been a "loosely typed" language, with auto-converting between strings/integers and potential "magic" or bugs because of that. Slowly, the language itself evolved with type-hinting and return types, but also more people started to create their own object types, to define their object rules for minimizing bugs. These are called VALUE OBJECTS, and in this article, we'll cover when/how to use them.

    Continue reading

Newest content