PHPackages                             josalba/prestashop-webservice-lib - 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. josalba/prestashop-webservice-lib

ActiveLibrary

josalba/prestashop-webservice-lib
=================================

PrestaShop Webservice access library

0.0.7(1y ago)0380OSL-3.0PHPPHP &gt;=8.0

Since Jun 18Pushed 1y agoCompare

[ Source](https://github.com/josAlba/PrestaShop-webservice-lib)[ Packagist](https://packagist.org/packages/josalba/prestashop-webservice-lib)[ RSS](/packages/josalba-prestashop-webservice-lib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (8)Used By (0)

PHP client for PrestaShop Webservices
=====================================

[](#php-client-for-prestashop-webservices)

This library allows you to perform requests to a PrestaShop instance using the [Webservice API](https://devdocs.prestashop.com/8/development/webservice/).

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

[](#installation)

Install the library using composer:

```
composer require josalba/prestashop-webservice-lib

```

Usage
-----

[](#usage)

La clase `Get` se encuentra en el los diferentes paquetes (Combinations, Products, StockAvaliable) y se utiliza para realizar solicitudes GET a la API de PrestaShop. Aquí te mostramos cómo usarla.

Ejemplo con StockAvaliables.

```
```

Método get
----------

[](#método-get)

El método `__invoke()` se utiliza para obtener todos los elementos disponibles. Evoca internamente un método `getRaw()` para obtener la respuesta en bruto de la API y la deserializa al objeto.

```
$get = new Get('url','token');
$display = new DisplayFull();
$filter = new Filter(/* Parámetros del constructor */);

$result = $get($display, $filter);
```

### Parámetros

[](#parámetros)

Este método acepta dos parámetros:

- `Display $display`: Este parámetro determina la cantidad de detalles que se deben devolver. Si deseas obtener todos los detalles, puedes usar la implementación del `DisplayFull`.
- `Filter $filter` (opcional): Este parámetro se utiliza para especificar criterios de filtrado. Si lo dejas vacío, el método devolverá todos los recursos disponibles.

Método put
----------

[](#método-put)

El método `__invoke()` se utiliza actualizar el objeto. Evoca internamente un método `put()` .

```
$put = new Put('url','token');
$prestashopStockAvailableUpdate = new PrestashopStockAvailableUpdate(new StockAvailable(id: 1, quantity: 10));
$shopParam = new ShopParam(shopId: 1);

$result = $put($prestashopStockAvailableUpdate, $filter, $shopParam);
```

### Parámetros

[](#parámetros-1)

Este método acepta dos parámetros:

- `PrestashopItemUpdate $item`: Necesita un item, el item tiene que tener mínimo id y los campos que se quieren actualizar.
- `ShopParam $shopParam`: Indica la tienda de prestashop.

License
-------

[](#license)

This library is released under the [OSL-3.0 license](LICENSE.md).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance40

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor5

5 contributors hold 50%+ of commits

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 ~21 days

Recently: every ~32 days

Total

7

Last Release

565d ago

PHP version history (2 changes)0.0.1PHP &gt;=8.2

0.0.7PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30494301?v=4)[josAlba](/maintainers/JosAlba)[@josAlba](https://github.com/josAlba)

---

Top Contributors

[![josAlba](https://avatars.githubusercontent.com/u/30494301?v=4)](https://github.com/josAlba "josAlba (18 commits)")[![rGaillard](https://avatars.githubusercontent.com/u/2787216?v=4)](https://github.com/rGaillard "rGaillard (7 commits)")[![PierreRambaud](https://avatars.githubusercontent.com/u/1462701?v=4)](https://github.com/PierreRambaud "PierreRambaud (6 commits)")[![matks](https://avatars.githubusercontent.com/u/3830050?v=4)](https://github.com/matks "matks (5 commits)")[![marekhanus](https://avatars.githubusercontent.com/u/23176472?v=4)](https://github.com/marekhanus "marekhanus (4 commits)")[![Progi1984](https://avatars.githubusercontent.com/u/1533248?v=4)](https://github.com/Progi1984 "Progi1984 (4 commits)")[![anat](https://avatars.githubusercontent.com/u/652592?v=4)](https://github.com/anat "anat (2 commits)")[![angelo983](https://avatars.githubusercontent.com/u/24254454?v=4)](https://github.com/angelo983 "angelo983 (2 commits)")[![codl](https://avatars.githubusercontent.com/u/315139?v=4)](https://github.com/codl "codl (2 commits)")[![GaryPEGEOT-WIC](https://avatars.githubusercontent.com/u/9263975?v=4)](https://github.com/GaryPEGEOT-WIC "GaryPEGEOT-WIC (2 commits)")[![julienbourdeau](https://avatars.githubusercontent.com/u/1525636?v=4)](https://github.com/julienbourdeau "julienbourdeau (2 commits)")[![matthieume](https://avatars.githubusercontent.com/u/4466105?v=4)](https://github.com/matthieume "matthieume (2 commits)")[![nicolasverlhiac](https://avatars.githubusercontent.com/u/5034521?v=4)](https://github.com/nicolasverlhiac "nicolasverlhiac (2 commits)")[![RubenMartins](https://avatars.githubusercontent.com/u/5765731?v=4)](https://github.com/RubenMartins "RubenMartins (2 commits)")[![glauberportella](https://avatars.githubusercontent.com/u/717547?v=4)](https://github.com/glauberportella "glauberportella (1 commits)")[![xGouley](https://avatars.githubusercontent.com/u/12794114?v=4)](https://github.com/xGouley "xGouley (1 commits)")[![NathanGiesbrecht](https://avatars.githubusercontent.com/u/1516627?v=4)](https://github.com/NathanGiesbrecht "NathanGiesbrecht (1 commits)")[![nicolasdanelon](https://avatars.githubusercontent.com/u/2846046?v=4)](https://github.com/nicolasdanelon "nicolasdanelon (1 commits)")[![weianguo](https://avatars.githubusercontent.com/u/2612973?v=4)](https://github.com/weianguo "weianguo (1 commits)")[![pangteypiyush](https://avatars.githubusercontent.com/u/9109260?v=4)](https://github.com/pangteypiyush "pangteypiyush (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/josalba-prestashop-webservice-lib/health.svg)

```
[![Health](https://phpackages.com/badges/josalba-prestashop-webservice-lib/health.svg)](https://phpackages.com/packages/josalba-prestashop-webservice-lib)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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