PHPackages                             retailyscom/prestashopwebservice - 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. retailyscom/prestashopwebservice

ActiveLibrary[API Development](/categories/api)

retailyscom/prestashopwebservice
================================

PHP wrapper for PrestaShop Webservices 1.7.x and 1.6.x.

v0.0.9(6y ago)010MITPHPPHP &gt;=5.6

Since Apr 3Pushed 6y agoCompare

[ Source](https://github.com/retailyscom/PrestaShopWebService)[ Packagist](https://packagist.org/packages/retailyscom/prestashopwebservice)[ Docs](https://github.com/retailyscom/PrestaShopWebService)[ RSS](/packages/retailyscom-prestashopwebservice/feed)WikiDiscussions master Synced yesterday

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

PrestashopWebService Easy
=========================

[](#prestashopwebservice-easy)

PHP wrapper for PrestaShop Webservices 1.7.x and 1.6.x

[![Build Status](https://camo.githubusercontent.com/1d00a38f7775c04d58a021edde10489cf4a58fdfcafce627a4b1da41e7b081fd/68747470733a2f2f7472617669732d63692e6f72672f6b7573666c6f2f50726573746153686f70576562536572766963652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kusflo/PrestaShopWebService)[![Latest Stable Version](https://camo.githubusercontent.com/6b63b734f22118a344b0d702690b401ecd7df38fe116e1f454e60a03a4015388/68747470733a2f2f706f7365722e707567782e6f72672f6b7573666c6f2f70726573746173686f702d776562736572766963652f762f737461626c65)](https://packagist.org/packages/kusflo/prestashop-webservice)[![Total Downloads](https://camo.githubusercontent.com/431a2cfa6eb5e864370d6984c08b5b7a363f64927ff3eb1d556e177566363aa9/68747470733a2f2f706f7365722e707567782e6f72672f6b7573666c6f2f70726573746173686f702d776562736572766963652f646f776e6c6f616473)](https://packagist.org/packages/kusflo/prestashop-webservice)[![License](https://camo.githubusercontent.com/23d087855e37fdb95bc18e90d7b903a7d56e1c4fe5a0ef2b2a9f54b79b58380e/68747470733a2f2f706f7365722e707567782e6f72672f6b7573666c6f2f70726573746173686f702d776562736572766963652f6c6963656e7365)](https://packagist.org/packages/kusflo/prestashop-webservice)

Description
===========

[](#description)

This wrapper allows you to download data from the prestashop store in a simple way. The data is transformed to an associative array.

Installation
============

[](#installation)

composer require kusflo/prestashop-webservice

Example Usage
=============

[](#example-usage)

```
function listOrdersAll()
{
    try {
        $o = new PShopWsOrders(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $orders = $o->getList();
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function listOrdersLastDays($days)
{
    try {
        $o = new PShopWsOrders(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $orders = $o->getListLastDays($days);
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function listOrdersToday()
{
    try {
        $o = new PShopWsOrders(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $orders = $o->getListToday();
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function getOrderById($id)
{
    try {
        $o = new PShopWsOrders(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $order = $o->getById($id);
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function listProducts()
{
    try {
        $p = new PShopWsProducts(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $products = $p->getList();
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function getProductById($id)
{
    try {
        $p = new PShopWsProducts(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $product = $p->getById($id);
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function listCategories()
{
    try {
        $p = new PShopWsCategories(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $categories = $p->getList();
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function getCategoryById($id)
{
    try {
        $p = new PShopWsCategories(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $category = $p->getById($id);
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function listManufacturers()
{
    try {
        $p = new PShopWsManufacturers(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $manufacturers = $p->getList();
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function getManufacturerById($id)
{
    try {
        $p = new PShopWsManufacturers(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $manufacturer = $p->getById($id);
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function listCustomers()
{
    try {
        $c = new PShopWsCustomers(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $customers = $c->getList();
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function getCustomerById($id)
{
    try {
        $c = new PShopWsCustomers(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $customer = $c->getById($id);
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

```
function listApiPermissionsToXml()
{
    try {
        $c = new PShopWsCustomers(_PS_SHOP_PATH, _PS_WS_AUTH_KEY);
        $permissions = $c->getApiPermissions();
        echo '';
        var_dump($permissions);
    } catch (PShopWsException $e) {
        echo $e->getMessage();
    }
}

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

Every ~129 days

Recently: every ~259 days

Total

9

Last Release

2287d ago

PHP version history (3 changes)v0.0.1PHP &gt;=5.3.0

v0.0.2PHP &gt;=5.6.0

v0.0.8PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/40dd8a0ccfc80a125b34ee0cebde23079f8f5747c4440c6b93837290f902834d?d=identicon)[ruda-retailys](/maintainers/ruda-retailys)

![](https://www.gravatar.com/avatar/6435d74d4d9e8ed9ca493025227c9b0c5f5778155b3a4b64c54244caab2c42a6?d=identicon)[Petr Řepa](/maintainers/Petr%20%C5%98epa)

---

Top Contributors

[![kusflo](https://avatars.githubusercontent.com/u/6150171?v=4)](https://github.com/kusflo "kusflo (54 commits)")[![JanRuda](https://avatars.githubusercontent.com/u/47453028?v=4)](https://github.com/JanRuda "JanRuda (21 commits)")[![gpier88](https://avatars.githubusercontent.com/u/49253755?v=4)](https://github.com/gpier88 "gpier88 (2 commits)")

---

Tags

phpapidatefilterstorearraysERPprestashopwebservices

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/retailyscom-prestashopwebservice/health.svg)

```
[![Health](https://phpackages.com/badges/retailyscom-prestashopwebservice/health.svg)](https://phpackages.com/packages/retailyscom-prestashopwebservice)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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