Examples of Nicolaslopezj/searchable (1)

Short information about nicolaslopezj/searchable

Searchable is a trait for Laravel 4.2+ and Laravel 5.0 that adds a simple search function to Eloquent Models.
Searchable allows you to perform searches in a table giving priorities to each field for the table and it's relations.
This is not optimized for big searches, but sometimes you just need to make it simple (Although it is not slow).
Read more on the official Github.

Repository: agorakit/agorakit (Github)
★ 358 Created: May 2016 Updated: Jun 2022 Laravel version: 8
Files in the example:
- composer.json
- app/Discussion.php
- app/File.php
- app/Http/Controllers/SearchController.php