Tucker-Eric / EloquentFilter

An Eloquent Way To Filter Laravel Models And Their Relationships
http://tucker-eric.github.io/EloquentFilter
MIT License
1.72k stars 120 forks source link

Dynamic namespace for modular app #27

Closed grafikkaos closed 7 years ago

grafikkaos commented 7 years ago

Is there a way I can set the namespace dynamically for a modular app?

I am currently using the nwidart/laravel-modules package to separate my application. Some of my modules have a their own separate search facility so the question here is, is there a way I can the namespace for each module dynamically?

THanks

grafikkaos commented 7 years ago

Actually found my own answer to this...

Had to provider my own filter to get this working.

Tucker-Eric commented 7 years ago

You can define the filters per model.

garbinmarcelo commented 4 years ago

Hi @grafikkaos ,

Have you still used this package? I also use laravel-modules, I would like to know your experience so far.

I'm starting a new project and I'm implementing the EloquentFilter package.

Thank's