From 55893a0511e79b9340b3701a0127757ca4a83884 Mon Sep 17 00:00:00 2001 From: Tom Lingham Date: Wed, 23 Jul 2014 00:31:33 +1000 Subject: [PATCH] Updated composer licence and readme --- README.md | 4 ++-- composer.json | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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",