Jeff Madsen has a new post covering six tricks for working with Laravel collections.
His tricks cover the follow methods:
- where() & lists()
- as a union
Using find with an array is one I never remember:
$collection = AppPerson::find([1, 2, 3]);
Give the post a read and I’m sure you’ll pick up a few tips and tricks.
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- PHP Web Developer
Christ for all Nations
- PHP Developer
Manhattan, KS (open to Remote)
- Mid-Senior Laravel Developer
- Full Stack Web Developer
Las Vegas, NV
- Staff Software Engineer (Laravel)
- Software Engineer (PHP, Laravel, Vue)
Los Angeles, CA
- Software Engineer Level 1 / Level 2
St. Pete. / Tampa Area, FL / Remote
When Microservices and SPAs Aren’t the Right Answer
In the latest episode of the Five Minute Geek show, Matt Stauffer talks about micro-services and when they aren’…
Making Dependable – A New Tutorial Series
Chris Pitt started a new tutorial series on building an application named Dependable: I work at SilverStripe. Aside f…