php-http/mock-client
Mock HTTP client for HTTPlug/PHP-HTTP. Stores outgoing requests and returns queued responses or throws exceptions instead of making real network calls—ideal for unit tests of HTTP-dependent code. Install via Composer as a dev dependency.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| adriballa/symfony-search-bundle | Symfony bundle that abstracts Elasticsearch: define indexes with two PHP classes, get auto-generated routes for index/document CRUD, validation, and a powerful search API (full-text, filters, sorting, pagination, aggregations). Optional client interfaces for programmatic use. | 10 | 11 | 0 | 0 | 1 | 0.5 | — | MIT | 1 year ago | |
| auth0/jwt-auth-bundle | Symfony bundle for Auth0 authentication and management APIs. Supports PHP 8.1+ and Symfony 6.4/7/8. Install via Composer, configure domain/client credentials and callback/logout URLs, then use the SDK for login, tokens, and user sessions. | 128 | 125 | 75 | 276 | 4 | 32.5 | 9.7 | MIT | 1 month ago | |
| auth0/symfony | — | 128 | 128 | 75 | 17K | 4 | 32.2 | 35.7 | MIT | 1 month ago | |
| authentin/eusig | — | 1 | 1 | 0 | 1 | 0 | 0.0 | 2.4 | — | — | |
| core23/piwik-bundle | — | 0 | 0 | 1 | 0 | 0 | 1.1 | — | MIT | 9 years ago | |
| croct/plug-php | — | 5 | 5 | 0 | 0 | 0 | 17.9 | — | MIT | 3 months ago | |
| croct/plug-symfony | — | 10 | 10 | 0 | 0 | 0 | 16.9 | — | MIT | 3 months ago | |
| datafactory/ezmigrationbundle | — | 0 | 0 | 0 | 0 | 0 | 3.0 | — | GPL-2.0 | 8 years ago | |
| debril/feed-io | PHP library to read and write RSS, Atom, and JSONFeed. Supports feed autodiscovery, enclosures, logos, content filtering, and DateTime conversion. Includes CLI tools, PSR-7 responses with cache headers, PSR-3 logging, and PSR-18 HTTP clients. | 263 | 266 | 64 | 24K | 11 | 8.1 | 23.3 | MIT | 2 years ago | |
| devmatchable/whop-php-sdk | — | 0 | 0 | 0 | 6 | 0 | 0.0 | 11.7 | MIT | — | |
| elastic/transport | PSR-7/17/18 HTTP transport library for Elastic PHP clients. Uses HTTPlug discovery for clients/factories and supports async via compatible PSR-18 clients (e.g., Guzzle, Symfony). Falls back to a built-in cURL client if none found. | 21 | 20 | 20 | 1M | 5 | 9.6 | 57.6 | MIT | 1 year ago | |
| elasticsearch/elasticsearch | Official PHP client for Elasticsearch. Connect to Elastic Cloud or local clusters and access 500+ REST API endpoints. Supports core operations like creating indices, indexing and retrieving documents, searching, and deleting, with documentation and tooling for testing/mocking. | 5,338 | 5,515 | 966 | 3M | 12 | 72.4 | 49.8 | MIT | 1 month ago | |
| eleven-labs/api-service | — | 7 | 7 | 3 | 3 | 2 | 0.5 | 1.9 | — | — | |
| eleven-labs/api-service-bundle | — | 1 | 1 | 1 | 0 | 0 | 0.0 | — | — | — | |
| elvi/auth0-symfony | — | 3 | 3 | 0 | 562 | 0 | 0.0 | 29.7 | MIT | — | |
| estratos/namesilo-api | — | 0 | 0 | 0 | 0 | 0 | 18.7 | — | MIT | 2 months ago | |
| everlutionsk/filejet-php | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| fahipaydev/gateway-laravel | Laravel 13+ integration for the FahiPay payment gateway (Maldives). Create and query transactions, handle redirects and callbacks, verify signatures, track payments via migrations/models, and use events/facades. Includes test mode and install artisan command. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| florianv/exchanger | Exchange rate provider layer for PHP: 30+ rate services behind one ExchangeRateService interface. Supports historical rates, chain fallback between providers, and PSR-16 caching. Use when you need more control than higher-level libraries. | 186 | 187 | 92 | 113K | 0 | 32.8 | 45.3 | MIT | 1 month ago | |
| florianv/swap | PHP 8.2+ currency exchange rate library with a single API over 30+ providers. Supports conversion, historical rates, PSR-16 caching, and provider fallback. Works with PSR-18 HTTP clients and PSR-17 factories for flexible integrations. | 1,339 | 1,350 | 146 | 138K | 0 | 32.6 | 30.1 | MIT | 6 months ago | |
| friendsofsymfony/http-cache | PHP library to integrate apps with HTTP caching proxies (Varnish, NGINX, Symfony HttpCache, Fastly, Cloudflare). Send efficient cache invalidation/purge and tag requests, abstract proxy features, and test caching/invalidation with PHPUnit tools. | 359 | 362 | 64 | 224K | 7 | 25.2 | 44.3 | NOASSERTION | 6 months ago | |
| geocoder-php/common-http | Common HTTP layer for Geocoder PHP providers. Includes shared HTTP client abstractions, request/response handling, and helpers to integrate PSR-18 clients and PSR-7 messages, keeping geocoding providers lightweight and consistent across transports. | 186 | 188 | 5 | 578K | 0 | 3.8 | 48.2 | MIT | 1 year ago | |
| geocoder-php/provider-integration-tests | Integration test suite for Geocoder PHP providers. Shared tests and fixtures to validate provider implementations and ensure consistent behavior across services, making it easier to verify compliance and prevent regressions. | 0 | 0 | 6 | 2K | 0 | 4.5 | 45.8 | MIT | 2 years ago | |
| j0k3r/graby | Graby extracts clean article content from web pages. Built on php-readability and FiveFilters site_config patterns, it’s a composer-friendly, decoupled, fully tested fork of Full-Text RSS. Requires PHP 8.2+, Tidy and cURL. | 390 | 390 | 76 | 8K | 29 | 40.2 | 34.4 | MIT | 2 months ago | |
| kaliop/ezmigrationbundle | Symfony bundle to manage eZPlatform/eZPublish database and content changes via code. Inspired by Doctrine migrations, it generates and runs migrations and offers console commands to apply, resume, and check status of deployments across environments. | 53 | 54 | 76 | 266 | 19 | 17.5 | 18.3 | GPL-2.0 | 3 years ago | |
| knplabs/github-api | Lightweight, well-tested PHP wrapper for GitHub APIs v3 (REST) and v4 (GraphQL). PSR-17/PSR-18 compatible via HTTPlug, with easy setup using Guzzle, Symfony HttpClient, or other PSR clients. Supports framework integrations (Laravel via graham-campbell/github). | 2,207 | 2,232 | 587 | 453K | 39 | 68.2 | 57.7 | MIT | 1 month ago | |
| laminas/laminas-xmlrpc | Laminas XML-RPC provides client and server components for XML-RPC in PHP. Build and parse XML-RPC requests/responses, expose methods via a server, and integrate with Laminas components for transport, encoding, and fault handling. | 25 | 25 | 17 | 48K | 5 | 26.4 | 56.0 | BSD-3-Clause | 2 months ago | |
| mailerlite/mailerlite-php | Official MailerLite PHP SDK for the MailerLite API v2. Manage subscribers, campaigns, groups, segments, fields, forms, automations, webhooks, timezones/languages, and batch requests. Includes tests and PHPStan support. | 34 | 34 | 9 | 35K | 5 | 8.7 | 44.5 | MIT | 10 months ago | |
| mathiasverraes/money | Small PHP money library that treats monetary values as immutable value objects to avoid floating-point errors. Includes currency support, arithmetic and comparisons, and formatting helpers—useful for modeling prices, totals, and discounts in a robust, domain-driven way. | 4,861 | 4,862 | 443 | 4K | 2 | 61.3 | 5.5 | MIT | 4 months ago | |
| moneyphp/money | moneyphp/money is a PHP value-object library for safe money handling without floats. Uses string-based big integers, supports arithmetic, allocation, currencies/ISO repositories, formatting (incl. intl), JSON serialization, and exchange rates. Requires BCMath. | 4,862 | 4,895 | 443 | 4M | 1 | 61.0 | 45.1 | MIT | 4 months ago | |
| omnipay/common | Framework-agnostic core for Omnipay payment gateways. Provides shared interfaces, request/response handling, HTTP client integration, and common utilities used by gateway drivers so apps can add and swap payment providers with a consistent API. | 342 | 350 | 245 | 435K | 39 | 40.4 | 64.3 | MIT | 7 months ago | |
| omnipay/tests | Test suite and shared fixtures for Omnipay payment gateway drivers. Provides reusable tests to validate gateway behavior, request/response handling, and edge cases across adapters, helping maintain compatibility and confidence when developing or updating Omnipay integrations. | 11 | 11 | 36 | 4K | 4 | 6.9 | 37.1 | MIT | 1 year ago | |
| payum/payum | — | 1,924 | 1,945 | 346 | 42K | 86 | 55.5 | 46.4 | MIT | 8 months ago | |
| php-feed-io/feed-io | feed-io is a PHP library for reading and writing RSS and Atom feeds. It handles fetching, parsing, and generating feed content with an easy-to-use API, making it simpler to consume external feeds or publish your own in PHP applications. | 19 | 19 | 5 | 38K | 7 | 23.3 | 55.2 | MIT | 2 months ago | |
| php-http/httplug-bundle | — | 390 | 391 | 51 | 225K | 5 | 28.9 | 44.3 | MIT | 4 months ago | |
| php-http/throttle-plugin | PSR-7/PSR-18 HTTP client plugin that throttles outgoing requests to control rate and concurrency. Useful for API clients that must respect provider limits, avoid burst traffic, and smooth request flow. | 2 | 2 | 2 | 489 | 1 | 0.2 | 30.6 | MIT | — | |
| spatie/elasticsearch-query-builder | Lightweight fluent PHP query builder for Elasticsearch. Build searches with queries and aggregations, set index and options, then execute via the official client. Designed to pair with spatie/elasticsearch-search-string-parser; focused feature set, PRs welcome. | 182 | 182 | 47 | 68K | 0 | 30.4 | 41.3 | MIT | 1 month ago | |
| vonage/client-core | Core PHP client library for Vonage APIs (PHP 8.1+). Create a Vonage\Client with your API key/secret, make requests, and optionally customize base API URLs for testing. Install via Composer (vonage/client) or use core with your own HTTP client. | 932 | 934 | 179 | 415K | 3 | 38.2 | 43.6 | Apache-2.0 | 2 months ago | |
| xint0/banxico-php | — | 5 | 6 | 1 | 105 | 0 | 3.1 | 17.5 | MIT | 1 year ago |
How can I help you explore Laravel packages today?