Laravel devs, tired of duplicating query filters between Eloquent and Scout? 👀
Create an invokable scope that works with both builders, then reuse it across models and Scout searches with ->tap().
One rule. Multiple query pipelines.
Laravel devs, tired of duplicating query filters between Eloquent and Scout? 👀
Create an invokable scope that works with both builders, then reuse it across models and Scout searches with ->tap().
One rule. Multiple query pipelines.