---
title: "Comment by Imran Ali on \"A little trick with Eloquent query scopes that makes them super reusable\" | Hashnode"
description: "@simonhamp This is exactly what I was looking for couple of weeks back. I posted this problem on StackOverflow as well but didn&#39;t get any answer. http://sta"
url: "https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e/comment/589428373285e912dbbb18ea"
---

[Discussion](https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e)

Comment [A little trick with Eloquent query scopes that makes them super reusable](https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e)

[Imran Ali](https://hashnode.com/@imranali)

[Feb 3, 2017](https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e/comment/589428373285e912dbbb18ea)

@simonhamp This is exactly what I was looking for couple of weeks back.

I posted this problem on StackOverflow as well but didn't get any answer.

[stackoverflow.com/questions/41654506/laravel-5-2-…](http://stackoverflow.com/questions/41654506/laravel-5-2-eloquent-query-with-local-scope)

I'll give it a try.

Thanks a lot :)

[Simon Hamp](https://hashnode.com/@simonhamp)

[Feb 3, 2017](https://hashnode.com/posts/a-little-trick-with-eloquent-query-scopes-that-makes-them-super-reusable/5890be485478d2f4f656800e/comment/589428373285e912dbbb18ea#reply-58944b16f7b7dab3f917eb45)

Cool :) Look forward to hearing how you get on.
