Laravel Tutorials / updated: August 06, 2014

Laravel Tip: Random Model Scope

I was needing to get a randomized set of Users for a project I was working on and came up with this dead-simple way of doing that using a random() scope.

David Hemphill shares a cool tip for using Query Scopes.

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.