← Back to list

Simplify Your UberEats Integrations with ubereat-php, an Open Source PHP SDK

If you’ve ever tried to integrate the UberEats API into a PHP application, you probably know it’s not exactly plug-and-play. OAuth2…

BEN MECHA Ali · 2025-04-08 13:37 · 0 claps · 1.5 min read
#uber #ubereats #integration #php #guzzle
Open on Medium ↗
Wiki topics: 🔓 · Open Source

Simplify Your UberEats Integrations with ubereat-php, an Open Source PHP SDK

If you’ve ever tried to integrate the UberEats API into a PHP application, you probably know it’s not exactly plug-and-play. OAuth2 authentication, handling orders, fetching restaurant data — it’s a lot to manage. That’s why I created [ubereat-php](https://github.com/BenMacha/ubereat-php), a lightweight, open-source SDK that helps you integrate UberEats into your PHP projects quickly and efficiently.

Why ubereat-php?

The main goal of this SDK is to simplify the developer experience when working with the UberEats API in PHP. It abstracts away the boilerplate while giving you full control over key features. With this SDK, you can:

  • Authenticate via OAuth2
  • Retrieve a list of restaurants
  • List active orders
  • Accept or reject incoming orders
  • Update the status of any order

Installation

Install it via Composer:

composer require benmacha/ubereat-php

Getting Started

Start by initializing the SDK with your UberEats API credentials:

$ubereat = new UberEats([
    'client_id' => 'your_client_id',
    'client_secret' => 'your_client_secret',
    'username' => 'your_username',
    'password' => 'your_password',
    'use_sandbox' => true, // Set to false for production
]);

Authenticate

$ubereat->authenticate();

Once authenticated, you’re ready to start making API calls.

Get Your Restaurants

$restaurants = $ubereat->getRestaurants();

Handle Orders

Fetch orders:

$orders = $ubereat->getOrders($restaurant_id);

Accept an order:

$ubereat->acceptOrder($order_id);

Reject an order:

$ubereat->rejectOrder($order_id, 'Out of stock');

Update order status:

$ubereat->updateOrderStatus($order_id, 'READY_FOR_PICKUP');

Sandbox Mode

Want to test everything without affecting your live environment? Use the sandbox mode — it simulates order flow and helps you test your integration safely.

Open Source & Contributions Welcome

The SDK is open source and available on GitHub. Feel free to contribute — whether it’s fixing bugs, adding features, or opening issues. Let’s make UberEats integration easier for everyone.

TL;DR

ubereat-php is a clean, developer-friendly PHP SDK that simplifies working with the UberEats API. Whether you're building a restaurant management system, order aggregator, or just experimenting, this tool will save you hours of work.

⭐ Star the repo if you find it useful — it helps others discover the project and supports ongoing development.


메타데이터
post_id
95aaffc18821
slug
simplify-your-ubereats-integrations-with-ubereat-php-an-open-source-php-sdk-95aaffc18821
url
https://medium.com/@benmacha/simplify-your-ubereats-integrations-with-ubereat-php-an-open-source-php-sdk-95aaffc18821
canonical_url
https://medium.com/@benmacha/simplify-your-ubereats-integrations-with-ubereat-php-an-open-source-php-sdk-95aaffc18821
author_url
https://medium.com/@benmacha
status
ok
fetched_at
2026-07-20 09:32:20