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 Testing Bundle Laravel Package

experteam/api-testing-bundle

Experteam API Testing Bundle provides testing services for APIs in Symfony 5.4, including a Controller Web Test Case that streamlines controller testing. Install via Composer to simplify API test setup and speed up your testing workflow.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy on test harness plumbing: This package is a thin convenience layer — a base WebTestCase for controller-level API tests. It informs the decision of whether to maintain an in-house base test case versus adopting a vendor base class, but the scope is small enough that most teams will conclude the abstraction is cheap to write themselves (a few dozen lines) and cheaper to own.
  • Framework standardization and roadmap fit: The README targets Symfony 5.4.*, which is past end-of-life for standard support. This is directly relevant to a roadmap decision: if your platform is on Symfony 6/7 or on Laravel, this package is not a candidate at all. If you are still on 5.4, that itself is the more important roadmap conversation.
  • Test coverage strategy for API surfaces: It signals a pattern — standardized controller test cases that assert status codes, JSON shapes, and response contracts — which supports deciding where contract tests live in your stack (base test case vs. dedicated contract testing like Pact or schemathesis).
  • Use-case scoping: Valid only for Symfony HTTP controller tests in a monolith or bundle-based architecture. It buys nothing for queued jobs, console commands, domain services, or integration tests against real HTTP boundaries.
  • Dependency posture decisions: Zero stars, zero dependents, single-contributor signals. This feeds a supply-chain and bus-factor decision, not a feature decision.

When to Consider This Package

Adopt only if all of the following hold:

  • You are on Symfony 5.4.x and have no near-term upgrade path (and even then, see below).
  • You want a drop-in base test case for controller/HTTP-layer assertions and have no existing WebTestCase conventions.
  • You are comfortable vendoring or forking it, since the MIT license permits that and the maintenance risk is effectively yours.
  • Your team has reviewed the actual source, not just the README — the published description covers exactly one feature, so the real surface area is small and inspectable in minutes.

Look elsewhere if any of the following apply:

  • You are on Laravel or framework-agnostic PHP. Despite being presented as a general "Laravel/PHP package," this is a Symfony bundle and is not installable in Laravel without the Symfony framework stack. Laravel teams should use Illuminate\Foundation\Testing\TestCase + MakesHttpRequests, or tools like Pest and Laravel's built-in HTTP test helpers.
  • You are on Symfony 6/7. Unsupported; the bundle's composer.json constraints will likely block installation or force an unmaintained Symfony version.
  • You need contract testing, schema validation, or OpenAPI conformance. Use league/openapi-psr7-validator, Dredd, Schemathesis, or Pact instead — this bundle does none of that.
  • You require maintenance guarantees, security response, or vendor support. Zero stars, zero dependents, no release cadence, no CI badges — this is effectively an unmaintained internal artifact published publicly.
  • Your test suite already has conventions. Introducing a base class from a third party for marginal convenience adds a migration cost and a confusing ownership boundary with no measurable payoff.

How to Pitch It (Stakeholders)

Executive summary: experteam/api-testing-bundle is a very small, MIT-licensed Symfony testing helper — essentially one reusable base test case for API controller tests. It is not a Laravel package despite how it may appear in package indexes, and it only supports Symfony 5.4.

Recommendation: do not adopt as a dependency. The value is a thin convenience wrapper that any competent engineer can replicate in an afternoon using Symfony's own WebTestCase. Against that marginal benefit, we take on an unmaintained, single-contributor dependency with no stars, no dependents, and no indicated release process — a supply-chain and bus-factor liability for a component sitting directly in our test infrastructure.

To engineering: Treat this as reference material, not a dependency. If the base test case pattern is useful, copy the approach into our own tests/Support/ApiTestCase.php under our own ownership and version control. That gives us the same ergonomics with none of the external risk, and it lets us extend it for JSON schema assertions, auth fixtures, and database transaction handling — which the package does not do.

To leadership, on the two questions this raises: (1) If any team is still on Symfony 5.4, that is an unsupported-version exposure worth scheduling for remediation — it will block access to the broader ecosystem, not just this package. (2) Our standard for adding a test-infrastructure dependency should include active maintenance, a release history, and more than one maintainer; this package meets none of those, and adopting it would set a precedent we do not want.

Bottom line: low opportunity, high relative risk, near-zero switching cost to the in-house alternative. Decline and move on.

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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib