Posts

12 Hidden Features of Laravel Eloquent
Laravel Eloquent is a feature-rich ORM (Object Relational Model). You can not find all the features in official documentation of Laravel Eloquent. I believe, to understand any open source software or framework, you have to spend more...
4 Comments
Attributes Casting, Accessors and Mutators in Laravel
In this article, we are going to look into three of the Laravel Eloquent features attributes casting, accessors and mutators. Attribute Casting The easier way to transform your model attributes while accessing them is the attributes...
1 Comments
Eloquent Touch for Models in Laravel
In this post, we will look at how we can use the eloquent touch feature in Laravel and update the timestamps without updating the model record. I want to show you two tricks while working with Laravel. Probably you will know one of them...
0 Comments
Filtering Eloquent Models in Laravel
When you are trying to filter some data or making a search query, you have to decide how you want to implement the filtering on eloquent models. I usually ask myself, should I include filtering logic in Controllers?...
6 Comments
Page 1 of 1