Skip to content

Commit

Permalink
Update searchRecords in README.md (maidmaid#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
maidmaid authored Apr 26, 2017
1 parent 42cd900 commit be33d93
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
16 changes: 3 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,12 @@ cache:
sudo: false

install:
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- composer update --prefer-dist --no-interaction --prefer-stable

script: phpunit --verbose --coverage-text
script: vendor/bin/phpunit

matrix:
include:
- php: 5.5
env: setup=lowest
- php: 5.5
env: setup=stable
- php: 5.6
env: setup=lowest
- php: 5.6
env: setup=stable
- php: 7.0
env: setup=lowest
- php: 7.0
env: setup=stable
- php: 7.1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Zoho
====

[Zoho](https://www.zoho.com) client library. Require PHP >= 5.5.
[Zoho](https://www.zoho.com) client library. Require PHP >= 5.6.

[![Build Status](https://travis-ci.org/maidmaid/zoho.svg?branch=master)](https://travis-ci.org/maidmaid/zoho)
[![Latest Stable Version](https://poser.pugx.org/maidmaid/zoho/v/stable)](https://packagist.org/packages/maidmaid/zoho)
Expand Down Expand Up @@ -101,7 +101,7 @@ See [getRecords Method](https://www.zoho.com/crm/help/api/getrecords.html) in of
> To retrieve the records that match your search criteria.
```php
$records = $client->searchRecords($module = 'Contacts', $criteria = ['Last Name' => 'Holmes']);
$records = $client->searchRecords($module = 'Contacts', $criteria = '(Last Name:Holmes)']);
```

See [searchRecords Method](https://www.zoho.com/crm/help/api/searchrecords.html) in official doc for more infos.
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@
}
],
"require": {
"php": ">=5.5",
"php": ">=5.6",
"guzzlehttp/guzzle": "^6.0",
"symfony/serializer": "^2.3|^3.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
},
"autoload": {
"psr-4": {"Maidmaid\\Zoho\\": "src"}
}
Expand Down

0 comments on commit be33d93

Please sign in to comment.