Eloquent & Datenzugriff v1

Installation

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

Version und Seiten

Sie lesen Version v1. Die aktuelle Dokumentation ist v4.

Commit a31c17818200 Diese Seite auf 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="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="model-filter-translations"

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

Technisches Erstgespräch

Ein Paket als Baustein für Ihre Anwendung.

Wenn Architektur, Integration oder Betrieb entscheidend sind, besprechen wir Ihre Anwendung als Ganzes.

Projekt besprechen