Tutorial
3 min read
Free
Eloquent Accessors and Mutators: Three Examples (Laravel 9+ vs Laravel 8)
While working with models - we often need to do something with the data before/after saving it in the database: change the format, trim whitespaces, trim HTML tags, and so on.