From 1c10fdcaa4677cfecfa7e2fb3cda47784810e2b4 Mon Sep 17 00:00:00 2001 From: Mohammad Nassif Hamid Date: Tue, 25 Aug 2026 21:10:33 +0530 Subject: [PATCH] Update README.md.erb --- README.md.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md.erb b/README.md.erb index 54e3ba5..1584365 100644 --- a/README.md.erb +++ b/README.md.erb @@ -32,7 +32,7 @@ Integrate search data into your PHP application. This library is the official wr SerpApi supports Google, Google Maps, Google Shopping, Baidu, Yandex, Yahoo, eBay, App Stores, and [more](https://serpapi.com). -This is the new library provided by SerpApi as a replacement for our old library that can be found [here](https://github.com/serpapi/google-search-results-php). Feel free to contact us in case you need any help: contact@serpapi.com +This is the new library provided by SerpApi as a replacement for our old library, which can be found [here](https://github.com/serpapi/google-search-results-php). Feel free to contact us if you need any help: contact@serpapi.com [The full documentation is available here.](https://serpapi.com/search-api) @@ -46,7 +46,7 @@ SerpApi provides a [script builder](https://serpapi.com/playground) to get you s ## Installation -PHP 7.2+ with `ext-curl` and `ext-json` must be installed along with [composer](https://getcomposer.org/) dependency management tool. +PHP 7.2+ with `ext-curl` and `ext-json` must be installed along with the [Composer](https://getcomposer.org/) dependency management tool. Tested PHP versions: * 7.2 @@ -242,7 +242,7 @@ use SerpApi\Client; $client = new Client(getenv('SERPAPI_KEY')); $locations = $client->location(['q' => 'Austin', 'limit' => 3]); -echo "Number of locations: " . count($locations) . "\n"; +echo "Number of locations: ". count($locations) . "\n"; print_r($locations); ``` @@ -320,9 +320,9 @@ try { ## Testing We love "true open source", "continuous integration", and Test Driven Development (TDD). -We use PHPUnit to test our infrastructure around the clock using [GitHub Actions](https://github.com/serpapi/serpapi-php/actions/workflows/serpapi-php.yml) to achieve the best QoS (Quality Of Service). +We use PHPUnit to test our infrastructure around the clock using [GitHub Actions](https://github.com/serpapi/serpapi-php/actions/workflows/serpapi-php.yml) to achieve the best QoS (Quality of Service). -The `tests/` directory includes specifications which serve the dual purposes of examples and functional tests. +The `tests/` directory includes specifications that serve the dual purpose of examples and functional tests. Set your secret API key in your shell before running tests: @@ -345,7 +345,7 @@ Contributions are welcome. Feel free to submit a pull request! ## Conclusion -SerpApi supports all the major search engines. Google has the more advanced support with all the major services available: Images, News, Shopping and more... +SerpApi supports all the major search engines. Google has more advanced support, with all the major services available: Images, News, Shopping, and more... [The full documentation is available here.](https://serpapi.com/search-api)