PHPackages                             osenco/glovo - 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. osenco/glovo

ActiveLibrary[API Development](/categories/api)

osenco/glovo
============

Glovo Business API PHP Integration

v0.20.4(6y ago)2202MITPHPPHP &gt;=7.2

Since Apr 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/osenco/glovo)[ Packagist](https://packagist.org/packages/osenco/glovo)[ Docs](https://business.glovoapp.com/)[ RSS](/packages/osenco-glovo/feed)WikiDiscussions master Synced 1mo ago

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

Glovo Business API PHP Integration Package
==========================================

[](#glovo-business-api-php-integration-package)

Create, retrieve and track your Glovo orders trough their Business API.

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

[](#requirements)

PHP 7.2 and later.

Install Package Via Composer
----------------------------

[](#install-package-via-composer)

```
$ composer require osenco/glovo
```

To use the Glovo API in your project, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require_once('vendor/autoload.php');
```

Dependencies
------------

[](#dependencies)

The bindings require the following extensions in order to work properly:

- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer
- [`json`](https://secure.php.net/manual/en/book.json.php)
- [`mbstring`](https://secure.php.net/manual/en/book.mbstring.php) (Multibyte String)

If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.

Getting Started
---------------

[](#getting-started)

Create an account in Glovo (it can be created from the App). This api **needs a credit card associated to your account**. You can add one from your app and it will be used automatically for any order. In order to get your API credentials you should login in the desired environment and go to *Credentials* section on your profile.

- [B2B Production](https://business.glovoapp.com/dashboard/profile)
- [B2B Sandbox/Test](https://business.testglovo.com/dashboard/profile)

Example ApiKey &amp; ApiSecret:

```
$apiKey = '125238463972712';
$apiSecret = '081f8c9680d457a088b4413a62ddf84c';
```

Sample usage might look smething like this:

```
