Updated composer licence and readme
This commit is contained in:
@ -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:
|
||||||
|
|
||||||
|
@ -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",
|
||||||
|
Reference in New Issue
Block a user