PHPackages                             repox/swipbox - 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. repox/swipbox

AbandonedArchivedLibrary[API Development](/categories/api)

repox/swipbox
=============

Client Library for Swipbox API integration

1.1.2(12y ago)271MITPHP

Since Nov 5Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Repox/swipbox-api-php)[ Packagist](https://packagist.org/packages/repox/swipbox)[ RSS](/packages/repox-swipbox/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

API Client Library for SwipBox
==============================

[](#api-client-library-for-swipbox)

Introduction
------------

[](#introduction)

A PHP Client library for easy SwipBox integration, which allows you fast implementation.

You need an account with [SwipBox](http://www.swipbox.com) to use the API.

### Index

[](#index)

- [Requirements](#requirements)
- [License](#license)
- [Installation](#installation)
    - [With Composer](#composer)
    - [Manual installation](#manual)
- [Getting Started](#gettingstarted)
- [Parcels](#parcels)
    - [Creating a parcel](#create)
    - [Activating a parcel](#activate)
    - [Labels for activated parcels](#get_label)
    - [Cancel parcel](#cancel)
- [Stations](#stations)
    - [Find nearest station](#find_nearest)
    - [Find Active Favorites](#find_active_favorites)
    - [Find stations near to favorite](#find_near_to_favorite)
    - [Find stations by zip](#find_by_zip)
    - [Get station by its pick up ID](#get_station_by_id)
- [Track &amp; Trace](#track)
- [Errors](#errors)
    - [Error codes](#error_codes)

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

[](#requirements)

- GUID from [SwipBox](http://www.swipbox.com).
- PHP 5.3+

License
------------------------------------------

[](#license)

*This library is licensed under the MIT License.*

Copyright (C) &lt;2013&gt;

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

[](#installation)

### Composer

[](#composer)

For installation with Composer (recommended), add the `repox/swipbox` package to your composer.json.

```
{
    "require": {
        "repox/swipbox": "1.1.*"
    }
}

```

And enable autoloading by including `vendor/autoload.php`.

### Manual installation

[](#manual-installation)

Download the latest [stable tag](https://github.com/Repox/swipbox-api-php/archive/1.1.2.zip) and unpack `src/` into a folder and include the files for use.

```
