matthiasnoback/doctrine-orm-test-service-provider
PHPUnit service provider for testing Doctrine ORM with a test service container. Adds a per-test SQLite connection, builds schema automatically from your entity directories, and exposes EntityManager, EventManager, and Connection for fast unit/integration tests.
matthiasnoback/phpunit-test-service-container).Adopt if:
matthiasnoback/phpunit-test-service-container (this package is a dependency).EntityManager, Connection, EventManager) in every test class.Look elsewhere if:
KernelTestCase or DatabaseTestCase).For Executives: *"This package cuts the time engineers spend setting up test databases by 80% for Doctrine ORM projects. By automating the creation of isolated SQLite test environments per test case, we can:
For Engineering/Tech Leads:
*"This solves a common pain point: boilerplate test setup for Doctrine ORM. Currently, every test class requires manual configuration of EntityManager, Connection, and schema creation. This package:
For Developers: *"Tired of writing the same Doctrine test setup in every file? This package lets you:
use TestCaseWithEntityManager; // Boom, EntityManager ready.
getEntityDirectories().schema:update commands).EventManager and Connection for advanced testing.
Perfect for: Repository tests, service layer tests, or any code touching Doctrine entities. Try it in your next PR!"*How can I help you explore Laravel packages today?