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 | 2.8 | — | MIT | 10 months 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 | 74 | 603 | 4 | 29.9 | 1.3 | MIT | 2 months ago | |
| auth0/symfony | — | 128 | 128 | 74 | 23K | 4 | 30.3 | 1.3 | MIT | 2 months ago | |
| authentin/eusig | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| core23/piwik-bundle | — | 0 | 0 | 1 | 0 | 0 | 1.1 | — | MIT | 8 years 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 | 63 | 23K | 11 | 8.1 | 23.0 | MIT | 2 years ago | |
| devmatchable/whop-php-sdk | — | 0 | 0 | 0 | 30 | 0 | 0.0 | 20.6 | 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 | 18 | 1M | 4 | 9.1 | 56.5 | MIT | 1 year ago | |
| elasticsearch/elasticsearch | Official PHP client for Elasticsearch. Connect to self-managed or Elastic Cloud clusters and access 500+ REST endpoints for indexing, searching, retrieving, and deleting documents. Includes docs, versioning guidance, and tools for mocking in tests. | 5,337 | 5,514 | 969 | 3M | 12 | 71.7 | 48.6 | MIT | 4 weeks 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 | PHP exchange-rate provider layer with 31 services behind one ExchangeRateService interface. Supports historical rates, PSR-16 caching, and chainable fallback across providers (commercial APIs, ECB, national banks, exchangerate.host) for fine-grained control. | 185 | 186 | 90 | 85K | 0 | 32.1 | 43.0 | MIT | 3 weeks 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,332 | 1,343 | 146 | 100K | 0 | 35.9 | 29.6 | MIT | 2 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 | 212K | 7 | 30.1 | 45.8 | NOASSERTION | 3 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 | 562K | 0 | 3.8 | 48.0 | 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.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 | 390 | 74 | 8K | 36 | 41.7 | 38.7 | 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. | 54 | 54 | 77 | 177 | 19 | 17.6 | 16.5 | GPL-2.0 | 2 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,203 | 2,229 | 590 | 434K | 39 | 48.0 | 48.5 | 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 | 150K | 5 | 20.6 | 60.8 | BSD-3-Clause | 3 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. | 32 | 32 | 10 | 33K | 6 | 13.1 | 46.6 | MIT | 6 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,843 | 4,844 | 443 | 6K | 3 | 66.5 | 8.3 | MIT | 1 month 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,843 | 4,867 | 443 | 3M | 3 | 66.7 | 46.8 | MIT | 1 month 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 | 244 | 413K | 39 | 44.8 | 66.3 | MIT | 3 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 | 9 months ago | |
| payum/payum | — | 1,926 | 1,948 | 346 | 40K | 87 | 60.4 | 48.4 | MIT | 5 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. | 16 | 16 | 4 | 31K | 9 | 23.4 | 55.3 | MIT | 1 month ago | |
| php-http/httplug-bundle | — | 389 | 390 | 51 | 237K | 5 | 31.5 | 45.6 | MIT | 1 month 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 | 536 | 1 | 0.2 | 31.1 | MIT | — | |
| spatie/elasticsearch-query-builder | Lightweight fluent PHP query builder for Elasticsearch. Build searches, filters, and aggregations with a clean API, then execute via the official client. Designed to pair with Spatie’s search-string parser; covers common use cases and is easy to extend. | 182 | 183 | 46 | 46K | 0 | 30.1 | 38.5 | 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. | 931 | 932 | 179 | 336K | 3 | 36.4 | 42.1 | Apache-2.0 | 2 months ago |
How can I help you explore Laravel packages today?