diff --git a/README.md b/README.md index 174c167..8eb9715 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ Usage ---------------------------------------- To use Searchy, you can take advantage of magic methods. -If you are searching the name column/field of users in a `users` table you would, for example run: +If you are searching the name and email column/field of users in a `users` table you would, for example run: ```php -$users = Searchy::users('name')->query('John Smith'); +$users = Searchy::users('name', 'email')->query('John Smith'); ``` you can also write this as: diff --git a/composer.json b/composer.json index dad803c..098acdd 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,8 @@ { "name": "tom-lingham/searchy", "description": "Laravel 4 Searchy makes user driven searching easy with fuzzy search, basic string matching and more to come!", + "keywords": ["laravel","search"], + "license": "MIT", "authors": [ { "name": "Tom Lingham",