heroicpixels / filterable

Automatically filter Laravel Eloquent results from URL querystring
MIT License
57 stars 2 forks source link

Filterable model trait #4

Closed nielstholenaar closed 10 years ago

nielstholenaar commented 10 years ago

I don't like the idea of extending my Eloquent model, so I converted your package to an PHP trait (http://php.net/manual/en/language.oop5.traits.php).

carcinocron commented 10 years ago

:+1: for using trait. Extending Eloquent blocks people who are already using another Eloquent extendor (Ardent, Magniloquent, Revisionable, etc.). Please make this a trait and include an Interface, too.

nielstholenaar commented 10 years ago

I've already created an trait and an interface but i'm currently writing some tests. After this I will create an new pull request.