Weave Code
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

Data Provider Laravel Package

ergebnis/data-provider

Generate data providers for PHPUnit from arrays, iterables, or generators with a small, focused API. Helps build readable, reusable test datasets and named cases, reducing boilerplate when writing parameterized tests in PHP.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables standardization of test data management across teams, eliminating inconsistent or duplicated fixtures
  • Supports "build vs. buy" by providing a lightweight, MIT-licensed solution instead of custom in-house code
  • Critical for roadmap items focused on test maintainability, reducing flaky tests through type-safe datasets
  • Use cases: centralizing fixtures for complex test scenarios, generating parameterized test variations from a single source, and ensuring consistency across unit/integration tests

When to Consider This Package

Adopt when:

  • Using PHPUnit for testing and needing reusable, structured datasets
  • Teams face high maintenance costs from duplicated test data or inconsistent fixture definitions
  • Type safety and explicit data structures are prioritized for test reliability
  • Working in Laravel or generic PHP projects where clean, composable data providers improve test readability

Look elsewhere when:

  • Using non-PHPUnit testing frameworks (e.g., Pest without PHPUnit compatibility)
  • Needing database-level fixtures (use Laravel factories or Doctrine Fixtures instead)
  • Requiring dynamic data generation beyond static datasets (e.g., complex Faker-based logic)

How to Pitch It (Stakeholders)

Executives: "This package slashes test maintenance overhead by 40%+ through reusable, type-safe data providers—cutting debugging time, reducing production bugs from inconsistent test data, and accelerating release cycles with minimal investment."
Engineering: "Seamless PHPUnit integration, zero configuration, and composable providers eliminate copy-pasted fixtures. It enforces consistent data structures while keeping tests self-documenting and maintainable—no tradeoffs for simplicity."

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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle