PHPackages                             w3designweb/laravel-qapla - 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. w3designweb/laravel-qapla

ActiveLibrary[API Development](/categories/api)

w3designweb/laravel-qapla
=========================

Package to integrate Qapla API functionalities in your Laravel web application.

v1.0(8y ago)5361MITPHPPHP ~5.6|~7.0

Since Apr 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/w3designweb/laravel-qapla)[ Packagist](https://packagist.org/packages/w3designweb/laravel-qapla)[ Docs](https://github.com/w3designweb/laravel-qapla)[ RSS](/packages/w3designweb-laravel-qapla/feed)WikiDiscussions master Synced today

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

Qapla - API integration for Laravel 5
=====================================

[](#qapla---api-integration-for-laravel-5)

[![Latest Version on Packagist](https://camo.githubusercontent.com/27d58d6ba10274515fb23dbb4c8cc0f4c2147690d24790dad566e6c6c9fb8cf3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f773364657369676e7765622f6c61726176656c2d7161706c612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/w3designweb/laravel-qapla)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/21b5f18a9f60417417db3bf2c83de457463df7b5854c7882f630e9d2381e9bb7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f773364657369676e7765622f6c61726176656c2d7161706c612f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/w3designweb/laravel-qapla/?branch=master)[![Quality Score](https://camo.githubusercontent.com/f843f68b555f42ab0de0610198f7e9d4d22c85d2c944d1435fb921008580bef4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f773364657369676e7765622f6c61726176656c2d7161706c612e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/w3designweb/laravel-qapla)[![Total Downloads](https://camo.githubusercontent.com/055f00eb5519525d94f201c559e2db401cfa81bc885eed8f8d54d8a72c11947e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f773364657369676e7765622f6c61726176656c2d7161706c612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/w3designweb/laravel-qapla)

An easy [Qapla](https://www.qapla.it/) API integration for your Laravel 5 web application.

[![LaravelQapla](imgs/laravel-qapla.png)](imgs/laravel-qapla.png)

Install
-------

[](#install)

You can install the package via Composer:

```
$ composer require w3designweb/laravel-qapla
```

In Laravel 5.5 and up, the package will automatically register the service provider and facade.
In Laravel 5.4 or below start by registering the package's the service provider and facade:

```
// config/app.php

'providers' => [
    ...
    W3design\Qapla\QaplaServiceProvider::class,
],

'aliases' => [
    ...
    'Qapla' => W3design\Qapla\QaplaFacade::class,
],
```

The facade is optional, but the rest of this guide assumes you're using the facade.

Next, publish the config files:

```
php artisan vendor:publish --provider="W3design\Qapla\QaplaServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

### The connection to the channel

[](#the-connection-to-the-channel)

```
use W3design\Qapla\Qapla;
...
$channel = new Qapla($privateApiKey, $publicApiKey);
```

After that you can use all this functions:

- **getTrack()**: Return the status of a shipment using the tracking number.
- **pushTrack()**: Allows one or more shipments to be loaded via a POST request in JSON format.
- **deleteTrack()**: Allows you to delete a shipment.
- **getTracks()**: Return the list of shipments imported from Qapla, with a maximum limit of 100 shipments per call.
- **pushOrder()**: Allows you to load one or more orders via a POST request in JSON format.
- **getOrders()**: Return the list of orders imported from Qapla, with a maximum limit of 100 orders per call.
- **getCredits()**: Return the amount of the remaining credits on your premium account
- **getCouriers()**: Return the list of couriers either total, or for single country/region.

### getTrack()

[](#gettrack)

Return the status of a shipment using the tracking number.
You can retrive a track by "trackingNumber" or "reference".

```
$track = $channel->getTrack('trackingNumber', '2878202252347', 'ita');	// by "trackingNumber"
$track = $channel->getTrack('reference', '300008236', 'ita');		// by "reference"
```

### pushTrack()

[](#pushtrack)

Allows one or more shipments to be loaded via a POST request in JSON format.
The $data array PHP must follows the guidelines described here:

```
$data = array(...);
$channel->pushTrack($data);
```

### deleteTrack()

[](#deletetrack)

Allows you to delete a shipment by "trackingNumber".

```
$channel->deleteTrack('2878202252347');
```

### getTracks()

[](#gettracks)

Return the list of shipments imported from Qapla, with a maximum limit of 100 shipments per call.
You must indicate a "startDate", and you can use a date in format "Y-m-d H:i:s" or an integer number like "36" to mean "36 days before today".

```
$tracks = $channel->getTracks('2015-05-21 00:00:00');	// With "Y-m-d H:i:s" format
$tracks = $channel->getTracks('36');			// With "days" format
```

### getOrders()

[](#getorders)

Return the list of orders imported from Qapla, with a maximum limit of 100 orders per call.
You must indicate a "startDate", and you can use a date in format "Y-m-d H:i:s" or an integer number like "36" to mean "36 days before today".

```
$orders = $channel->getOrders('2015-05-21 00:00:00');	// With "Y-m-d H:i:s" format
$orders = $channel->getOrders('36');			// With "days" format
```

### pushOrder()

[](#pushorder)

Allows you to load one or more orders via a POST request in JSON format.
The $data array PHP must follows the guidelines described here:

```
$data = array(...);
$channel->pushOrder($data);
```

### getCredits()

[](#getcredits)

Return the amount of the remaining credits on your premium account.

```
$credits = $channel->getCredits();
```

### getCouriers()

[](#getcouriers)

Return the list of couriers either total, or for single country/region.

```
$couriers = $channel->getCouriers();
```

Qapla
-----

[](#qapla)

Your shipments' best friend.

- Complete control on problematic shipments
- 59 couriers supported in only one dashboard
- Status auto-update and custom tracking page
- Transactional email and support ticket
- Multi-store and multi-platform integration

### Documentation

[](#documentation)

Website:
API:
Webhook:

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email :author\_email instead of using the issue tracker.

Credits
-------

[](#credits)

- [W3design](https://github.com/w3designweb)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2940d ago

### Community

Maintainers

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

---

Top Contributors

[![michelew3design](https://avatars.githubusercontent.com/u/10281513?v=4)](https://github.com/michelew3design "michelew3design (10 commits)")

---

Tags

laravelQaplaW3design

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/w3designweb-laravel-qapla/health.svg)

```
[![Health](https://phpackages.com/badges/w3designweb-laravel-qapla/health.svg)](https://phpackages.com/packages/w3designweb-laravel-qapla)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[kirschbaum-development/laravel-openapi-validator

Automatic OpenAPI validation for Laravel HTTP tests

581.1M5](/packages/kirschbaum-development-laravel-openapi-validator)

PHPackages © 2026

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