From 31a039ce24789c3fa30155b50ef4ba440233b99d Mon Sep 17 00:00:00 2001 From: AkrAm Date: Tue, 5 Mar 2019 17:21:59 +0600 Subject: [PATCH] updated Readme --- README.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a73b5ea..51122a9 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Searchable, a search trait for Laravel ========================================== -Searchable is a trait for Laravel 4.2+ and Laravel 5.0 that adds a simple search function to Eloquent Models. +Searchable is a trait for Laravel 4.2+ and Laravel 5.8 + 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. @@ -12,7 +12,7 @@ This is not optimized for big searches, but sometimes you just need to make it s Simply add the package to your `composer.json` file and run `composer update`. ``` -"nicolaslopezj/searchable": "1.*" +composer require akr4m/advanced-search ``` # Usage @@ -20,7 +20,7 @@ Simply add the package to your `composer.json` file and run `composer update`. Add the trait to your model and your search rules. ```php -use Nicolaslopezj\Searchable\SearchableTrait; +use akr4m\Searchable\SearchableTrait; class User extends \Eloquent { @@ -133,7 +133,7 @@ Here is an example query #### Eloquent Model: ```php -use Nicolaslopezj\Searchable\SearchableTrait; +use akr4m\Searchable\SearchableTrait; class User extends \Eloquent { @@ -212,8 +212,3 @@ having relevance > 6.75 order by `relevance` desc ``` -## Contributing - -Anyone is welcome to contribute. Fork, make your changes, and then submit a pull request. - -[![Support via Gittip](https://rawgithub.com/twolfson/gittip-badge/0.2.0/dist/gittip.png)](https://gratipay.com/nicolaslopezj/)