PHPackages                             morscate/uber-eats - 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. morscate/uber-eats

ActiveLibrary[API Development](/categories/api)

morscate/uber-eats
==================

A PHP client to integrate with the Uber Eats API

v0.0.9(3w ago)47.4k↑23.6%9[1 PRs](https://github.com/morscate/uber-eats/pulls)MITPHPPHP ^8.3

Since Nov 15Pushed 3w agoCompare

[ Source](https://github.com/morscate/uber-eats)[ Packagist](https://packagist.org/packages/morscate/uber-eats)[ RSS](/packages/morscate-uber-eats/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (9)Dependencies (9)Versions (10)Used By (0)

A Laravel client to integrate with the Uber Eats API
====================================================

[](#a-laravel-client-to-integrate-with-the-uber-eats-api)

This package allows you to easily make requests to the new Uber Eats Marketplace API.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.3
- Laravel &gt;= 12 or &gt;= 13

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

[](#installation)

You can install the package via composer:

```
composer require morscate/uber-eats
```

The package will automatically register itself.

Configuration
-------------

[](#configuration)

To start using the Uber Eats API you will need a client ID and client secret. You can get these by creating an app on the [Uber Developer Portal](https://developer.uber.com/dashboard/). Add the Client ID and client secret to your .env file:

```
UBER_EATS_CLIENT_ID=
UBER_EATS_CLIENT_SECRET=
UBER_EATS_SCOPE=

```

Making requests
---------------

[](#making-requests)

### Create your own request

[](#create-your-own-request)

If you need to make a request not covered by this package, you can use the underlying HTTP client directly:

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->request('https://api.uber.com/v1/delivery')->get('/store/{storeId}/orders');
```

---

Integrations
------------

[](#integrations)

### Activate an integration

[](#activate-an-integration)

Before you can start using the API, you need to activate a store integration. Make sure you have access to the `eats.pos_provisioning` scope. When you have access, add it to `UBER_EATS_SCOPE` in your `.env`.

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->activateIntegration(
    storeId: '{store_id}',
    isOrderManager: true,
    integratorStoreId: '{integrator_store_id}',
    integratorBrandId: '{integrator_brand_id}',
);
```

### Get integration details

[](#get-integration-details)

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->getIntegrationDetails(storeId: '{store_id}');
```

### Update an integration

[](#update-an-integration)

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->updateIntegration(
    storeId: '{store_id}',
    integrationEnabled: true,
    isOrderManager: true,
    integratorStoreId: '{integrator_store_id}',
    integratorBrandId: '{integrator_brand_id}',
);
```

---

Orders
------

[](#orders)

### Get all orders for a store

[](#get-all-orders-for-a-store)

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->getOrders(storeId: '{store_id}');
```

### Get a single order

[](#get-a-single-order)

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->getOrder(orderId: '{order_id}');
```

### Accept an order

[](#accept-an-order)

```
use Carbon\Carbon;

$uberEatsApi = new UberEatsApi();
$uberEatsApi->acceptOrder(
    orderId: '{order_id}',
    pickupAt: Carbon::now()->addMinutes(20), // optional
    externalId: '{your_internal_order_id}',  // optional
    acceptedBy: '{employee_name}',           // optional
);
```

### Deny an order

[](#deny-an-order)

```
use Morscate\UberEats\Enums\ReasonType;

$uberEatsApi = new UberEatsApi();
$uberEatsApi->denyOrder(
    orderId: '{order_id}',
    reasonInfo: 'Kitchen is closed for the evening.',
    reasonType: ReasonType::KITCHEN_CLOSED,
);
```

### Cancel an order

[](#cancel-an-order)

```
use Morscate\UberEats\Enums\ReasonType;

$uberEatsApi = new UberEatsApi();
$uberEatsApi->cancelOrder(
    orderId: '{order_id}',
    reasonInfo: 'Item is no longer available.',
    reasonType: ReasonType::ITEM_ISSUE,
);
```

### Update the ready time for an order

[](#update-the-ready-time-for-an-order)

```
use Carbon\Carbon;

$uberEatsApi = new UberEatsApi();
$uberEatsApi->updateOrderReadyTime(
    orderId: '{order_id}',
    readyForPickupTime: Carbon::now()->addMinutes(30),
);
```

### Mark an order as ready

[](#mark-an-order-as-ready)

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->markOrderReady(orderId: '{order_id}');
```

#### `ReasonType` enum values

[](#reasontype-enum-values)

ValueDescription`ITEM_ISSUE`Issue with an item or modifier`KITCHEN_CLOSED`Kitchen is closed`CUSTOMER_CALLED_TO_CANCEL`Customer called to cancel`RESTAURANT_TOO_BUSY`Restaurant is too busy`ORDER_VALIDATION`Order validation error`STORE_CLOSED`Store is closed`TECHNICAL_FAILURE`Technical failure`POS_NOT_READY`POS not ready`POS_OFFLINE`POS is offline`CAPACITY`Store order capacity is full`ADDRESS`Problem with address`SPECIAL_INSTRUCTIONS`Special instructions issue`PRICING`Pricing issues`UNKNOWN`Unknown reason`OTHER`Other---

Menus
-----

[](#menus)

### Get the menu for a store

[](#get-the-menu-for-a-store)

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->getMenu(storeId: '{store_id}');
```

### Create or update a menu

[](#create-or-update-a-menu)

Sends a full menu payload to Uber Eats. See the [Uber Eats menu API docs](https://developer.uber.com/docs/eats/references/api/v2/put-eats-stores-storeid-menu) for the expected menu structure.

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->upsertMenu(
    storeId: '{store_id}',
    menu: [
        // full menu payload
    ],
);
```

---

Couriers (BYOC)
---------------

[](#couriers-byoc)

### Ingest courier live location

[](#ingest-courier-live-location)

Used when using Bring Your Own Courier (BYOC) to report the courier's current GPS position to Uber Eats.

```
$uberEatsApi = new UberEatsApi();
$uberEatsApi->ingestCourierLiveLocation(
    orderId: '{order_workflow_uuid}',
    restaurantId: '{restaurant_uuid}',
    latitude: '52.3702',
    longitude: '4.8952',
    updatedAt: null, // optional epoch milliseconds, defaults to now
);
```

---

Webhooks
--------

[](#webhooks)

To start receiving webhooks from Uber Eats, add the following route in `App\Providers\RouteServiceProvider`:

```
$this->routes(function () {
    // ...
    Route::uberEatsWebhooks();
});
```

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within this project, please email me via .

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance95

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.4% 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 ~117 days

Total

9

Last Release

22d ago

PHP version history (2 changes)v0.0.1-alphaPHP ^8.1

v0.0.2-alphaPHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![rikmorskate](https://avatars.githubusercontent.com/u/3383883?v=4)](https://github.com/rikmorskate "rikmorskate (14 commits)")[![h-sols](https://avatars.githubusercontent.com/u/210041382?v=4)](https://github.com/h-sols "h-sols (3 commits)")

---

Tags

phpapi clientdeliveryUber Eats

### Embed Badge

![Health badge](/badges/morscate-uber-eats/health.svg)

```
[![Health](https://phpackages.com/badges/morscate-uber-eats/health.svg)](https://phpackages.com/packages/morscate-uber-eats)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[resend/resend-laravel

Resend for Laravel

1222.7M9](/packages/resend-resend-laravel)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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