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 9y 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 1mo 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 10% 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://www.gravatar.com/avatar/9fb41cd2039eebaa73783cc313ff6dcf6b9d51feb9386cfca89c28ec68f3ee12?d=identicon)[maciekpaprocki](/maintainers/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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M318](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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