Mera Mustaqbil: 16 Laravel Pro Tips and Tricks

  • You are here: Free PHP » Uncategorized » Mera Mustaqbil: 16 Laravel Pro Tips and Tricks

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: ...

Powered by Gewgley