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

Pest Plugin Mysql Compat Laravel Package

jeffersongoncalves/pest-plugin-mysql-compat

A Pest plugin for MySQL compatibility that helps your test suite run smoothly against MySQL by handling driver-specific behavior and assertions, with simple installation and setup in your Pest configuration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Closing the "works in tests, fails in prod" gap: Laravel's default test setup leans on SQLite in-memory, while most production deployments run MySQL. This plugin lets the team run Pest suites against MySQL-compatible behavior, reducing a common class of release-day surprises (reserved words, strict-mode differences, JSON/date handling, collation quirks).
  • Test-infrastructure roadmap: Informs whether to standardize integration tests on a MySQL-compatible harness versus continuing with SQLite shortcuts, and shapes CI pipeline investment (service containers, matrix configs).
  • Build vs. buy: A low-cost, off-the-shelf Pest plugin is worth evaluating before committing engineering time to a bespoke database-compatibility harness.
  • Release confidence: Better MySQL parity in tests supports tightening release gates and lowering rollback frequency.

When to Consider This Package

  • You use Pest as your test runner and MySQL/MariaDB in production (or in staging) but currently test only on SQLite.
  • You've experienced bugs that passed CI but failed on MySQL, or you maintain integration tests that must mirror production schema behavior.
  • You want MySQL-compatibility coverage without rewriting test infrastructure from scratch.
  • Look elsewhere if: you rely exclusively on PHPUnit rather than Pest, your production database is PostgreSQL (different parity concerns), your project is small/early enough that SQLite testing is acceptable, or you already have a mature MySQL CI test matrix.

How to Pitch It (Stakeholders)

  • To executives: A small, low-risk developer-tooling addition that improves production reliability by catching database-specific bugs before release — protecting customer experience and reducing hotfix/rollback costs. It's a testing utility, not a production dependency, so blast radius is limited to CI.
  • To engineering: An off-the-shelf Pest plugin that brings MySQL fidelity to your test suite, letting teams keep Pest ergonomics while testing against realistic database behavior. Evaluate it against your CI matrix and confirm Pest version compatibility before rollout.
  • Caveat: This is a 1.0.0 first stable release with minimal public release notes, so confirm maintainership activity, Pest/Laravel version support, and documentation before standardizing. Treat as a candidate for a time-boxed trial rather than an immediate org-wide mandate.
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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core