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
Agents
kununu/testing-bundle
claude-code
cursor
symfony
fixtures
tests

kununu/testing-bundle is a Symfony bundle (type: symfony-bundle) that makes testing easier. It integrates with kununu/data-fixtures to load fixtures in tests and provides helpers such as WebTestCase, a RequestBuilder, and a database schema copier.

Install
php artisan boost:add-skill kununu/testing-bundle

Save this content to: AGENTS.md

# AGENTS.md

## What this is

`kununu/testing-bundle` is a Symfony bundle (`type: symfony-bundle`) that makes
testing easier. It integrates with [`kununu/data-fixtures`](https://github.com/kununu/data-fixtures)
to load fixtures in tests and provides helpers such as `WebTestCase`, a
`RequestBuilder`, and a database schema copier.

It is a library, not a deployed service, and is intended for `dev`/`test`
environments only — never production.

## Domain

Fixture loading and test utilities for Symfony applications. Supported fixture
types: Doctrine DBAL connections, cache pools, DynamoDB, Elasticsearch,
OpenSearch, and Symfony HTTP Client.

## Code layout

- `src/Command/` — console commands that load fixtures and copy schemas.
- `src/DependencyInjection/` — bundle extension, `Configuration`, and compiler
  passes wiring each fixture type.
- `src/Service/` — the `Orchestrator` and the `SchemaCopy` adapters/factory.
- `src/Test/` — consumer-facing test helpers (`FixturesAwareTestCase`,
  `WebTestCase`, `RequestBuilder`, options).
- `src/Resources/config/` — service definitions.
- `src/KununuTestingBundle.php` — bundle entrypoint.
- `tests/` — `Unit/` and `Integration/` suites plus a test app under `tests/App/`.
- `docs/` — per-feature documentation.

PSR-4: `Kununu\TestingBundle\` → `src/`, `Kununu\TestingBundle\Tests\` → `tests/`.

## Quality gates

Defined as `composer` scripts (see `scripts` in `composer.json`):

- `composer cs` — PHP CS Fixer (kununu standards).
- `composer sniffer` — PHP_CodeSniffer (`phpcs.xml.dist`).
- `composer phpstan` — PHPStan (`phpstan.neon.dist`).
- `composer rector` — Rector (`rector-ci.php`), dry-run.
- `composer unit` / `composer integration` / `composer test` — PHPUnit suites.

CI runs via the "Continuous Integration" GitHub Actions workflow; SonarCloud
gates quality. Full workflow is in `CONTRIBUTING.md`.

## Hard constraints

- Stay compatible with the version ranges pinned in `composer.json` (`require`),
  including Symfony `^6.4 || ^7.4` and `doctrine/dbal ^3.10 || ^4.4`.
- PHP version is pinned in `composer.json` (`require.php`).
- Integration tests need real backing services (MySQL, Elasticsearch, OpenSearch);
  see `CONTRIBUTING.md`.
- This bundle must not be enabled in production.

AGENTS.md

What this is

kununu/testing-bundle is a Symfony bundle (type: symfony-bundle) that makes testing easier. It integrates with kununu/data-fixtures to load fixtures in tests and provides helpers such as WebTestCase, a RequestBuilder, and a database schema copier.

It is a library, not a deployed service, and is intended for dev/test environments only — never production.

Domain

Fixture loading and test utilities for Symfony applications. Supported fixture types: Doctrine DBAL connections, cache pools, DynamoDB, Elasticsearch, OpenSearch, and Symfony HTTP Client.

Code layout

  • src/Command/ — console commands that load fixtures and copy schemas.
  • src/DependencyInjection/ — bundle extension, Configuration, and compiler passes wiring each fixture type.
  • src/Service/ — the Orchestrator and the SchemaCopy adapters/factory.
  • src/Test/ — consumer-facing test helpers (FixturesAwareTestCase, WebTestCase, RequestBuilder, options).
  • src/Resources/config/ — service definitions.
  • src/KununuTestingBundle.php — bundle entrypoint.
  • tests/ — Unit/ and Integration/ suites plus a test app under tests/App/.
  • docs/ — per-feature documentation.

PSR-4: Kununu\TestingBundle\ → src/, Kununu\TestingBundle\Tests\ → tests/.

Quality gates

Defined as composer scripts (see scripts in composer.json):

  • composer cs — PHP CS Fixer (kununu standards).
  • composer sniffer — PHP_CodeSniffer (phpcs.xml.dist).
  • composer phpstan — PHPStan (phpstan.neon.dist).
  • composer rector — Rector (rector-ci.php), dry-run.
  • composer unit / composer integration / composer test — PHPUnit suites.

CI runs via the "Continuous Integration" GitHub Actions workflow; SonarCloud gates quality. Full workflow is in CONTRIBUTING.md.

Hard constraints

  • Stay compatible with the version ranges pinned in composer.json (require), including Symfony ^6.4 || ^7.4 and doctrine/dbal ^3.10 || ^4.4.
  • PHP version is pinned in composer.json (require.php).
  • Integration tests need real backing services (MySQL, Elasticsearch, OpenSearch); see CONTRIBUTING.md.
  • This bundle must not be enabled in production.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
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