Browse Source

Updated composer licence and readme

master
Tom Lingham 11 years ago
parent
commit
55893a0511
  1. 4
      README.md
  2. 2
      composer.json

4
README.md

@ -32,9 +32,9 @@ Usage
---------------------------------------- ----------------------------------------
To use Searchy, you can take advantage of magic methods. 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 ```php
$users = Searchy::users('name')->query('John Smith');
$users = Searchy::users('name', 'email')->query('John Smith');
``` ```
you can also write this as: you can also write this as:

2
composer.json

@ -1,6 +1,8 @@
{ {
"name": "tom-lingham/searchy", "name": "tom-lingham/searchy",
"description": "Laravel 4 Searchy makes user driven searching easy with fuzzy search, basic string matching and more to come!", "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": [ "authors": [
{ {
"name": "Tom Lingham", "name": "Tom Lingham",

Loading…
Cancel
Save