Link:  https://laravelproject.com/laravel-filtering-query-using-pipelines

This tutorial will demonstrate the process of filtering query results using pipelines while keeping your code clean and readable.

laravel filtering query