PHPackages                             darkling/php-zomato-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. darkling/php-zomato-client

ActiveLibrary[API Development](/categories/api)

darkling/php-zomato-client
==========================

Zomato php api client

0.2(7y ago)0501BSD-3-ClausePHPPHP &gt;=7.1

Since Dec 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Daaarkling/php-zomato-client)[ Packagist](https://packagist.org/packages/darkling/php-zomato-client)[ RSS](/packages/darkling-php-zomato-client/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (8)Versions (3)Used By (1)

Php Zomato Api Client
=====================

[](#php-zomato-api-client)

Zomato api client written in PHP. Supports [Zomato APIv2.1](https://developers.zomato.com/documentation).

Installation
------------

[](#installation)

Just use composer.

```
composer require darkling/php-zomato-client
```

Usage
-----

[](#usage)

```
// Create request
$request = new RestaurantRequest(16506740); // restaurant ID
// OR
//$request = RestaurantRequest::createFromParameters(['res_id' => 16506740]);
// Name of parameters must respect name of parameters in zomato api documentation

// Create client
// You can choose from three possible output options (JSON_STRING, JSON_ARRAY, JSON_STD_CLASS)
$client = new ZomatoClient('userApiKey', ResponseOption::get(ResponseOption::JSON_STRING));

// Send request and get response
$response = $client->send($request);

// Handle response
if ($response->isOk()) {
	var_dump($response->getData());
} else {
	var_dump($response->getStatusCode());
	var_dump($response->getReasonPhrase());
}
```

Requests
--------

[](#requests)

List of available requests:

- /categories Get list of Categories -&gt; *Not implemented*
- /cities Get city details -&gt; *Not implemented*
- /collections Get Zomato collections in a city -&gt; *Not implemented*
- /cuisines Get list of all cuisines in a city -&gt; *Not implemented*
- /establishments Get list of restaurant types in a city -&gt; *Not implemented*
- /geocode Get location details based on coordinates -&gt; *Not implemented*
- /location\_details Get Zomato location details -&gt; *Not implemented*
- /locations Search for locations -&gt; *Not implemented*
- /dailymenu Get daily menu of a restaurant -&gt; **DailyMenuRequest**
- /restaurant Get restaurant details -&gt; **RestaurantRequest**
- /reviews Get restaurant reviews -&gt; **ReviewsRequest**
- /search Search for restaurants -&gt; **SearchRequest**

If you need to use some of the request which is not currently implemented, you are welcome to send PR :-)

Nette
-----

[](#nette)

If you are looking for integration to [Nette Framework](https://nette.org/) just use this package [daaarkling/nette-zomato-client](https://github.com/Daaarkling/nette-zomato-client).

Licence
-------

[](#licence)

New BSD License

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

2699d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3a1ebc17cd3687e9942c0398a454a8f1753fac05cd4f6ffca1b8a4793d3c412?d=identicon)[Daaarkling](/maintainers/Daaarkling)

---

Top Contributors

[![Daaarkling](https://avatars.githubusercontent.com/u/10207494?v=4)](https://github.com/Daaarkling "Daaarkling (18 commits)")

---

Tags

apiapi-clientphpphp7zomatozomato-api

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/darkling-php-zomato-client/health.svg)

```
[![Health](https://phpackages.com/badges/darkling-php-zomato-client/health.svg)](https://phpackages.com/packages/darkling-php-zomato-client)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
