Skip to main content

Code Examples of nicolaslopezj/searchable

Discover how to use Laravel's nicolaslopezj/searchable method in real-world applications. Browse 1 examples from popular open-source projects.

1 example
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.

agorakit/agorakit

  • 434
  • Created May 2016
  • Updated Nov 2025

Files in this example

  • composer.json
    • app/Discussion.php
      • app/File.php
        • app/Http/Controllers/SearchController.php
View full example

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.