Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Api Caller Bundle

Api Caller Bundle Laravel Package

released/api-caller-bundle

A Laravel bundle for calling external APIs with a consistent, configurable client. Handles requests, authentication, and responses, keeping integrations clean and testable. Early-stage package with minimal adoption—review before production use.

View on GitHub
Deep Wiki
Context7

API Caller Bundle is a PHP package that provides a fluent, reusable layer for calling external HTTP APIs. Define your endpoints once—base URL, headers, authentication, and expected responses—then reuse them throughout your application with consistent request handling and error management.

It is built on top of PSR-18 HTTP clients, so you can plug in any transport you already use, while keeping retries, logging, and response parsing in one place.

  • Fluent client supporting GET, POST, PUT, PATCH, and DELETE
  • Configurable endpoints with shared base URLs, headers, and auth
  • Automatic retries with backoff for transient failures
  • Response mapping to arrays, objects, or DTOs
  • PSR-3 logging hooks for observability and debugging
Frequently asked questions about Api Caller Bundle
Is released/api-caller-bundle a Laravel package or a Symfony bundle?
The -bundle suffix is a Symfony convention, so the first thing to verify is whether this is a Symfony bundle that has been described as Laravel-compatible. Its published description is generic ('Useful utils'), which does not confirm framework scope or intent. There is no indication of a Laravel service provider, facade, or config publishing, so treat it as Symfony-first until the source says otherwise. If you need Laravel integration, plan on writing the wiring yourself or choosing a Laravel-native alternative.
How do I install released/api-caller-bundle and which PHP versions does it require?
It is Composer-installable in principle via composer require released/api-caller-bundle, but read composer.json before running that command. A January 2021 release most plausibly targets PHP 7.2 through 8.0, which is well behind current PHP versions. Check the PHP constraint and any illuminate/* or symfony/* constraints against your runtime first. If the constraints do not match, Composer will either refuse the install or you will be pinning your stack backwards.
Does released/api-caller-bundle support Laravel 10 or Laravel 11?
There is no evidence of support for modern Laravel versions. With a last release date of 2021-01-29, the package most likely targets Laravel 6 through 8 era dependencies, putting it two to four major versions behind. Confirm the actual framework constraints in composer.json rather than assuming from the version number. If the constraints are stale, you would be adopting the maintenance burden of updating them yourself.
What does released/api-caller-bundle do that Laravel's Http facade does not?
Based on the available description, that question cannot be answered without reading the source. Laravel's Http facade already wraps Guzzle and provides retries, middleware, request/response helpers, and fake-based testing. The burden is on this package to demonstrate a differentiated capability such as token refresh orchestration, rate-limit handling, multi-tenant credential routing, or a declarative call DSL. If it cannot, it just adds a second place where timeouts, retries, and auth are configured.
Is released/api-caller-bundle actively maintained?
No. The last release was 2021-01-29, with no visible commit activity since, and it has zero stars and zero dependents. It is a single-maintainer package with no community validation and no successor plan. In practice that means adopting it makes your team the de facto maintainers of any fixes you need.
How does released/api-caller-bundle handle retries, timeouts, and authentication?
The published documentation does not describe retry semantics, timeout defaults, or credential handling, so these must be confirmed by a static source review. These are exactly the behaviors that fail silently under production load, so undocumented behavior is a real risk rather than a cosmetic gap. Check whether retry and timeout logic has tests, and whether auth tokens, refresh flows, or secret storage are owned by the package. If any of that is unclear, wrap or replace it behind an internal interface.
Can I safely use released/api-caller-bundle in production?
Technical risk is high for this package: it is unmaintained, unaudited, and would execute in your request path. API caller layers are precisely where credentials, retries, and logging live, so the blast radius is large relative to the package size. Its pinned Guzzle version may also carry unpatched security exposure. Before any design work, complete a license and provenance check, a static source review, and a transitive dependency audit.
What are the best alternatives to released/api-caller-bundle in a Laravel app?
The realistic alternative is a thin internal ApiClient built on Laravel's Http facade, with your auth, retry, and observability policies baked in. That is typically 100 to 300 lines of first-party code, fully testable with Http::fake(), and free of third-party abandonment risk. Using Guzzle directly gives you the same control with more boilerplate. Either option beats fragmenting your outbound-call conventions across two clients.
How do I test code that makes external API calls in Laravel?
If you standardize on Laravel's Http facade, Http::fake() lets you stub responses and assert outgoing requests without touching the network. There is no documented testing story for this bundle, so any code depending on it would need its own stubs or a wrapper interface. The clean pattern is to hide the caller behind an internal interface and bind a fake implementation in tests. That also lets you swap the underlying package later without touching call sites.
Can I fork released/api-caller-bundle and maintain it internally?
Only after confirming the license permits forking and internal redistribution, which is part of the required provenance check. Even with a permissive license, forking a vague bundle usually costs more than writing a small first-party client, because you inherit undocumented retry and timeout behavior. If you do fork, keep the integration behind an internal interface so it is not smeared across call sites. Also verify the Guzzle major version you would be pinning so it does not collide with your other HTTP consumers.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core