laravel-model-filter

This is the documentation for v1 but the latest version is v2 . You can switch versions in the menu at the top. Check your current version with the following command:

composer show lacodix/laravel-model-filter

Overview

This package comes with a set of very usual filter types like date, numeric, boolean and so on. Additionally you can create your own filters with more complex database queries if needed and as a cherry on the cake the package offers some very usual ready to use filters, that you just need to add to your models.

For individual filters please see section advanced usage.

Available filter base types to be used as base of your filters:

  • Date
  • Boolean
  • Enum
  • Numeric
  • Select
  • String

Ready to use filters:

  • TrashedFilter