einnar82 / laravel-zomato
:description
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/einnar82/laravel-zomato
Requires
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2025-09-29 01:29:48 UTC
README
An API Wrapper for Zomato.
Prerequisites
- Register an account to get an API Key
Installation
Type in your terminal
$ composer require einnar82/laravel-zomato
Add the service provider in your config => app.php
RannieOllit\Zomato\ZomatoServiceProvider::class,
and the Facade
'Zomato' => RannieOllit\Zomato\Facades\Zomato::class
Publish the zomato.php file via
$ php artisan vendor:publish
and select
RannieOllit\Zomato\ZomatoServiceProvider
Then, you can use the Zomato Facade;
List of methods in laravel-zomato
| method | information |
|---|---|
| getCategories | Get list of Categories |
| getCityDetails(array $params) | Get city details |
| getCityCollections(array $params) | Get Zomato collections in a city |
| getCityCuisines(array $params) | Get list of all cuisines in a city |
| getCityRestaurantTypes(array $params) | Get list of restaurant types in a city |
| getRestaurantCoordinates(array $params) | Get location details based on coordinates |
| getLocationDetails(array $params) | Get Zomato location details |
| searchLocations(array $params) | Search for locations |
| getDailyMenu(array $params) | Get daily menu of a restaurant |
| getRestaurantDetails(array $params) | Get restaurant details |
| getRestaurantReviews(array $params) | Get restaurant reviews |
| searchForRestaurants(array $params) | Search for restaurants |
You may check the Zomato documentation for details.