SPATIE

Services
Our philosophy Packages Postcards Guidelines Documentation
Products Blog About
Login Work with us
  • Introduction
  • Improving readability by decreasing indentation
  • Using lookup tables
  • Refactor complex conditionals
  • Getting autocompletion on models and API resources
  • Using Blade components for layouts
  • Exploring Form Requests
  • Customising Eloquent collections

This video is only for members.

You'll need to log in to view this video!

Log in or create a free account

Customising Eloquent collections

Instead of using generic collection methods on Eloquent results, you can define your own methods on it.

Links

  • Giving collections a voice
Exploring Form Requests
  • Services
  • Open source
  • Products
  • Courses
AboutBlogNewsletterDocsGuidelines

Kruikstraat 22, Box 12
2018 Antwerp, Belgium
info@spatie.be
+32 3 292 56 79
  • GitHub
  • Instagram
  • LinkedIn
  • X
  • Bluesky
  • Mastodon
  • YouTube
  • Privacy
  • Disclaimer

+32 3 292 56 79

Our office is closed now, email us instead

A good
match?

What we do best

  • All things Laravel
  • Custom frontend components
  • Building APIs
  • AI-powered features
  • Simplifying things
  • Clean solutions
  • Integrating services

Not our cup of tea

  • WordPress themes
  • Cutting corners
  • Free mockups to win a job
  • "Just execute the briefing"

In short: we'd like to be a substantial part of your project.

Get in touch via email