Subscribe to PHP Freaks RSS

Mera Mustaqbil: 16 Laravel Pro Tips and Tricks

syndicated from www.phpdeveloper.org on July 1, 2019

1: Auto Model Validation Automatically validate model or anything you want to perform before save, update or create. 2: Prevent Update Some times you want to prevent update on any model, for this purpose you can use code written below: 3: Get Random Rows Get random rows from a table using Eloquent: ...