wp-concurrent-remote-requests WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Feature plugin for concurrent HTTP remote requests
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/alleyinteractive/wp-concurrent-remote-requests/archive/refs/heads/main.zipConcurrent Remote Requests Feature Plugin
A WordPress Feature plugin for concurrent HTTP remote requests in WordPress. Adds namespaced helper functions to make concurrent remote requests. Being tracked in https://github.com/WordPress/wordpress-develop/pull/3022 and https://core.trac.wordpress.org/ticket/37459.
Installation
You can install the package via composer:
composer require alleyinteractive/wp-concurrent-remote-requests
Usage
Activate the plugin in WordPress and use it like so:
// Supports an array of URLs:
\Alley\WP\Concurrent_Remote_Requests\wp_remote_get(
[
'https://alley.co/',
'https://wordpress.org/',
]
);
// Or more complex requests.
\Alley\WP\Concurrent_Remote_Requests\wp_remote_request(
[
[
'https://alley.co/',
[
'body' => [ ... ],
'method' => 'POST',
],
],
[
'https://wordpress.org/',
[
'method' => 'DELETE',
],
],
]
);
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The GNU General Public License (GPL) license. Please see License File for more information.
Releases
6 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.