Laravel provides a `Fluent` class as a universal structure for array data

Laravel provides a `Fluent` class as a universal structure for array data

Fluent is a utility class provided by @laravelphp that lets us handle data fluently.

Out of the box it can be turned into an array or JSON, it can act as an array and it's serializable as a JSON.

It also gets and sets attributes dynamically and in a fluent way.

#Laravel #PHP

We're writing a book, you can get it for free here.