PHPackages                             maciekpaprocki/wordpress-guzzle-wrapper - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. maciekpaprocki/wordpress-guzzle-wrapper

ActiveLibrary[HTTP &amp; Networking](/categories/http)

maciekpaprocki/wordpress-guzzle-wrapper
=======================================

Wordpress guzzle wrapper

06PHP

Since May 25Pushed 10y ago2 watchersCompare

[ Source](https://github.com/bureau-va/wordpress-guzzle-wrapper)[ Packagist](https://packagist.org/packages/maciekpaprocki/wordpress-guzzle-wrapper)[ RSS](/packages/maciekpaprocki-wordpress-guzzle-wrapper/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

wordpress-guzzle-wrapper
========================

[](#wordpress-guzzle-wrapper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8496f507b80a5f16e72e95d702ad5aa8d6a8912c272671682e0a5ffe07077a9b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616369656b706170726f636b692f776f726470726573732d67757a7a6c652d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/maciekpaprocki/wordpress-guzzle-wrapper)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d722db07d5d14ad59d1d1ed0cb85340c77dc9b2044407bce8e522be6bc491378/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6275726561752d76612f776f726470726573732d67757a7a6c652d777261707065722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/bureau-va/wordpress-guzzle-wrapper)[![Coverage Status](https://camo.githubusercontent.com/06abe727c6a2e55408e1a119dfd4a06961b0fd68c03bb97ced9b6e463b3a7d90/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6275726561752d76612f776f726470726573732d67757a7a6c652d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/bureau-va/wordpress-guzzle-wrapper/code-structure)[![Quality Score](https://camo.githubusercontent.com/f49d6fcd4e73560ade306b1800b15a3a693411d780ab44c1c611c9cc1206f878/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6275726561752d76612f776f726470726573732d67757a7a6c652d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/bureau-va/wordpress-guzzle-wrapper)[![Total Downloads](https://camo.githubusercontent.com/6d2d5b9ff2a44b70e1a2ba2fb8aaf3b3dffdeeb7c4b12925035da43a65c9e6d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d616369656b706170726f636b692f776f726470726573732d67757a7a6c652d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/maciekpaprocki/wordpress-guzzle-wrapper)

Simple helper for working with Guzzle and wordpress rest API

Install
-------

[](#install)

Via Composer

```
$ composer require maciekpaprocki/wordpress-guzzle-wrapper
```

Usage
-----

[](#usage)

### Repositories

[](#repositories)

Repositories are de facto your query builders.

Provided with query information they need to return async promise (or whatever wrapped in promise).

### Transformers

[](#transformers)

Transformers are responsible for converting data received from async calls. All the data is transformed using json\_decode then if data is object transformers are run on whole data set. If data is array transformers are run on each of the array values.

### Pool

[](#pool)

Pool is responsible for aggregating three services.

1. Transformers
2. Cache
3.

```
    use BureauVA\WordpressGuzzle\Pool;
    $pool = new Pool();
    $pool->setTransformers(...Transformer Array);
    $pool->setCachePool(...External Cache Pool);
    $pool->setPromises(...Promises array);

```

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

[](#contributing)

Yope, so you need to have those ones installed globaly:

1. [Composer](https://getcomposer.org)
2. [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
3. [PHPUNIT](https://phpunit.de/)

then run those lines in empty folder of your choice

```
git clone git@github.com:bureau-va/wordpress-guzzle-wrapper.git .
touch .git/hooks/pre-commit
sudo chmod 777 .git/hooks/pre-commit
echo "composer pre-commit" >> .git/hooks/pre-commit
```

this will set up base repo and make sure that before each commit your local tests and cs fixer are used.

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

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

Credits
-------

[](#credits)

- [BureauVA](https://github.com/bureau-va)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/maciekpaprocki-wordpress-guzzle-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/maciekpaprocki-wordpress-guzzle-wrapper/health.svg)](https://phpackages.com/packages/maciekpaprocki-wordpress-guzzle-wrapper)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.5k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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