Pages

06 February, 2024

Laravel Purity vs Spatie's laravel-query-builder?

I'm looking to implement an out-of-the-box solution for filtering & sorting results on my API endpoints, and I've come across Laravel Purity and Spatie's laravel-query-builder. Both are still actively being maintained and offer similar features. I like Purity's approach of defining the filter logic on the model instead of on the controller (which is what Spatie does), but Spatie's solution is a lot more popular.

Is there anyone who has tried both packages or prefers one over another for any good reason? submitted by /u/DigitalEntrepreneur_
[link] [comments]

No comments:

Post a Comment

Thanks