Eloquent & Data Access v0

Installation

Laravel Model Filter · A Laravel package for filtering and searching models from database with ease.

Version and pages

You are reading version v0. The current documentation is v4.

Commit d0e583fba9a7 This page on GitHub

You can install the package via composer:

composer require lacodix/laravel-model-filter

The package brings a config file and views with translations, that can be published.

php artisan vendor:publish --tag="laravel-model-filter-config"

This is the content of the published config file:

return [
    'date_format' => 'Y-m-d',
    'search_query_value_name' => 'search',
    'search_query_fields_name' => 'search_for',
];

You can publish the view components with:

php artisan vendor:publish --tag="lacodix-filter-views"

You can publish the translation files with:

php artisan vendor:publish --tag="lacodix-filter-translations"

Translations are only needed, if you use one of the predefined ready to use filters like the TrashedFilter.

Technical consultation

A package as a building block for your application.

If architecture, integration or operations are critical, let’s discuss your application as a whole.

Discuss your project