PHPackages                             shimango/gophr - 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. shimango/gophr

ActiveLibrary[API Development](/categories/api)

shimango/gophr
==============

A PHP client for the Gophr Courier Service commercial API

2.0.4(3mo ago)020MITPHPPHP &gt;=8.0CI passing

Since Jul 24Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/shimango/gophr)[ Packagist](https://packagist.org/packages/shimango/gophr)[ RSS](/packages/shimango-gophr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (17)Used By (0)

Gophr PHP Client Library
========================

[](#gophr-php-client-library)

A comprehensive PHP client for the Gophr Courier Service API, enabling seamless integration of courier services into your PHP applications.

[![Build Status](https://github.com/shimango/gophr/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/shimango/gophr/actions/workflows/tests.yml?query=branch%3Amaster)[![Latest Stable Version](https://camo.githubusercontent.com/74484ac90a4f109599852aea7c2b49e137e8cbae305ca48228884a3e08c2a1a6/687474703a2f2f706f7365722e707567782e6f72672f7368696d616e676f2f676f7068722f76)](https://packagist.org/packages/shimango/gophr)[![Total Downloads](https://camo.githubusercontent.com/230c2bb5bdbfa7e9f5c861e5dd8cebba4b4dcbe65c6cdc13eabb2e18eeb51106/687474703a2f2f706f7365722e707567782e6f72672f7368696d616e676f2f676f7068722f646f776e6c6f616473)](https://packagist.org/packages/shimango/gophr)[![License](https://camo.githubusercontent.com/8cff2925532e3827d58238d874ce3b8e2391aa77c25f49ec73a469ddf90f286e/687474703a2f2f706f7365722e707567782e6f72672f7368696d616e676f2f676f7068722f6c6963656e7365)](https://packagist.org/packages/shimango/gophr)[![PHP Version Require](https://camo.githubusercontent.com/9dd84a0217c7b83b9535dc475a00829d69b5679edff58fa22a27f46bed6c1aab/687474703a2f2f706f7365722e707567782e6f72672f7368696d616e676f2f676f7068722f726571756972652f706870)](https://packagist.org/packages/shimango/gophr)

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Configuration](#configuration)
- [Core Concepts](#core-concepts)
- [Usage Examples](#usage-examples)
    - [Working with Jobs](#working-with-jobs)
    - [Working with Deliveries](#working-with-deliveries)
    - [Working with Parcels](#working-with-parcels)
- [Response Handling](#response-handling)
- [Error Handling](#error-handling)
- [Testing](#testing)
- [API Reference](#api-reference)

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

[](#requirements)

- PHP 8.0 or higher
- Composer
- A Gophr API key (obtain from [Gophr Authorization](https://developers.gophr.com/docs/authorisation))

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

[](#installation)

### Using Composer (Recommended)

[](#using-composer-recommended)

```
composer require shimango/gophr
```

### Manual Installation

[](#manual-installation)

1. Download this package from GitHub
2. Run `composer install` in the package directory
3. Require the autoloader in your project:

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

Quick Start
-----------

[](#quick-start)

Here's a simple example to get you started:

```
