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. | 11 | 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 | 76 | 303 | 5 | 31.6 | 11.0 | MIT | 1 month ago | |
| auth0/symfony | — | 128 | 128 | 76 | 22K | 5 | 31.7 | 38.2 | MIT | 1 month ago | |
| authentin/eusig | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| core23/piwik-bundle | — | 0 | 0 | 1 | 0 | 0 | 1.1 | — | MIT | 8 years ago | |
| croct/plug-php | — | 5 | 1 | 0 | 33 | 0 | 20.3 | 13.2 | MIT | 1 month ago | |
| croct/plug-symfony | — | 10 | 3 | 0 | 0 | 0 | 19.0 | — | MIT | 1 month ago | |
| datafactory/ezmigrationbundle | — | 0 | 0 | 0 | 0 | 0 | 3.0 | — | GPL-2.0 | 7 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 | 3 | 0 | 0.0 | 8.3 | 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. | 20 | 20 | 20 | 1M | 4 | 9.3 | 57.3 | 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 | 968 | 3M | 12 | 69.3 | 49.5 | MIT | 2 months ago | |
| 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 | 186 | 91 | 96K | 0 | 33.2 | 44.0 | MIT | 6 days 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,337 | 1,344 | 146 | 122K | 0 | 33.3 | 30.3 | MIT | 4 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 | 210K | 7 | 27.2 | 44.6 | NOASSERTION | 4 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. | 187 | 188 | 5 | 582K | 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 | 4K | 0 | 4.6 | 49.9 | 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. | 388 | 391 | 76 | 6K | 29 | 42.5 | 34.3 | MIT | 2 weeks 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. | 54 | 54 | 77 | 226 | 19 | 17.6 | 17.4 | 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,204 | 2,232 | 588 | 412K | 39 | 48.0 | 48.2 | MIT | 1 year 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.8 | 55.7 | BSD-3-Clause | 1 week 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. | 33 | 32 | 9 | 41K | 5 | 11.2 | 46.7 | MIT | 8 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,855 | 4,862 | 445 | 6K | 2 | 63.2 | 7.0 | MIT | 2 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,854 | 4,884 | 444 | 3M | 2 | 63.5 | 45.7 | MIT | 2 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 | 446K | 39 | 42.5 | 65.5 | MIT | 5 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 | 5K | 4 | 10.7 | 38.7 | MIT | 11 months ago | |
| payum/payum | — | 1,924 | 1,948 | 346 | 39K | 87 | 58.0 | 47.1 | MIT | 6 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. | 17 | 16 | 5 | 31K | 7 | 24.0 | 54.5 | MIT | 3 weeks ago | |
| php-http/httplug-bundle | — | 390 | 391 | 51 | 225K | 5 | 29.1 | 44.4 | MIT | 2 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 | 499 | 1 | 0.2 | 30.7 | 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 | 46 | 67K | 0 | 27.4 | 40.4 | MIT | 2 months 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. | 933 | 933 | 179 | 342K | 3 | 40.0 | 42.8 | Apache-2.0 | 1 week ago |
How can I help you explore Laravel packages today?