hidayetov/auto-testify
Laravel package that generates CRUD and uniqueness tests for Eloquent models via an Artisan command. Detects unique fields from the DB schema with doctrine/dbal or from a $unique model property, and skips DB-dependent checks when no connection is available.
Adopt When:
Look Elsewhere If:
"AutoTestify is a time-saver for developers that automates 80% of repetitive Eloquent model tests—CRUD operations and data uniqueness checks—so the team can focus on building features, not writing boilerplate. For a one-time setup, it reduces test suite maintenance by ~30%, speeds up onboarding, and lowers regression risks. Ideal for projects where velocity matters more than customization, like MVPs or high-growth phases. The MIT license and Laravel-native design make it a low-risk experiment."
*"This package cuts test generation time for Eloquent models by auto-generating CRUD and uniqueness tests. Key benefits:
doctrine/dbal for schema detection (optional but powerful)."AutoTestify complements your CI/CD pipeline by ensuring baseline test coverage for all Eloquent models with minimal overhead. It’s not a replacement for manual testing but reduces false negatives by catching common data-layer issues early. The generated tests are readable and maintainable, fitting seamlessly into your existing suite. Pair it with your existing test strategies for a stronger safety net."
How can I help you explore Laravel packages today?