• Laravel
  • PHP
  • Searchable – Trait that adds a simple search function to Eloquent models

    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).

    Github: https://github.com/nicolaslopezj/searchable

    Để lại một bình luận

    Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

    1 mins