yosimitso/mockdoctrinemanager
A lightweight testing helper that mocks the Doctrine manager so you can unit test persistence-dependent code without a real database. Swap in the mock to stub repository lookups, flush and transaction calls, keeping tests fast and isolated.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| testmonitor/eloquent-lockable | 0.82 | Add record locking to Laravel Eloquent models with a simple trait. Prevent concurrent edits by tracking who holds a lock, then lock, unlock, and check status easily—keeping data consistent in multi-user apps. | 4 | — | 3 | — | 0 | 20.2 | — | MIT | 3 days ago | |
| doctrine-fixtures/data-generation-bundle | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 2.7 | — | — | 3 years ago | |
| beapp/repository-tester-core | 0.82 | — | 0 | 0 | 0 | 1 | 0 | 0.0 | 4.2 | — | — | |
| everzet/persisted-objects | 0.82 | A lightweight PHP library for persisting domain objects as event streams. It records state changes as events and rebuilds objects by replaying them, offering a simple event-sourced alternative to traditional ORM mapping. Use it to keep model changes explicit and auditable without a heavy persistence... | 131 | — | 14 | — | 0 | 1.2 | — | — | 8 years ago |
|
| doctrine/doctrine-fixtures-bundle | 0.82 | Symfony bundle integrating DoctrineFixtures: define and load sample data (fixtures) into your database for dev, tests, and demos. Supports grouping, ordering, and environment-aware loading via CLI commands, with easy integration into the Doctrine ORM workflow. | 2,530 | 2,573 | 211 | 3M | 26 | 37.7 | 50.7 | MIT | 11 months ago | |
| mpyw/laravel-database-mock | 0.82 | Experimental Laravel package that mocks underlying PDO connections with Mockery, letting you stub SELECT, INSERT, and UPDATE queries and results for fast, database-free tests. Requires PHP 8.2+ and Laravel 11+. | 6 | 6 | 0 | 1K | 0 | 13.2 | 33.9 | MIT | 4 months ago | |
| stemble/laravel-doctrine-factory | 0.82 | Use Laravel's modern Eloquent factories with Doctrine entities. Drop-in replacement for the official frozen pre-8.x factory system, adding class-based factories, first-class states, relationship helpers, sequences, recycle, and afterMaking/afterCreating callbacks. | 2 | 2 | 2 | 7K | 0 | 22.1 | 52.5 | MIT | 3 months ago | |
| happyr/service-mocking | 0.82 | HappyR Service Mocking is a Laravel testing helper that makes it easy to replace real services with mocks in the container. Swap bindings during functional and integration tests to isolate dependencies and control behavior without manual container wiring or boilerplate. | 44 | 45 | 7 | 6K | 0 | 0.5 | 29.3 | MIT | 2 years ago | |
| bentools/doctrine-static | 0.82 | Lightweight in-memory Doctrine mock for unit tests. Create ObjectManagers in a ManagerRegistry, persist/remove and flush to a temporary store, and use repository methods like find, findBy, findOneBy, and findAll. Not for real persistence. | 2 | 3 | 0 | 55 | 0 | 0.0 | 17.8 | — | — | |
| lkovace18/entity-factory-bundle | 0.82 | A Symfony bundle offering a factory-based approach to creating and hydrating entities, with configurable definitions to simplify fixtures and test data setup in your applications. | 0 | 0 | 2 | 0 | 0 | 0.1 | — | — | — | |
| yeroon/doctrine-fictures-extra-bundle | 0.81 | A Symfony bundle that extends Doctrine data fixtures with extra loaders, helpers, and utilities for seeding test and development databases. Simplifies populating entities with sample data and adds convenient fixture-loading options to streamline setup and testing workflows. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| dama/doctrine-test-bundle | 0.81 | A Symfony bundle that speeds up Doctrine tests by wrapping DBAL connections in a static driver and rolling back a transaction after each test, keeping tests isolated without schema rebuilds or fixture reloads. It also configures a PSR-6 static array cache. | 1,196 | 1,188 | 61 | 1M | 6 | 37.3 | 49.6 | MIT | 4 weeks ago | |
| yokai/doctrine-value-object | 0.81 | yokai/doctrine-value-object brings reusable value objects to Doctrine in Laravel apps, offering embeddable types and integration helpers for cleaner, type-safe domain models with less boilerplate. | 13 | 13 | 1 | 10K | 0 | 0.1 | 39.5 | MIT | 2 years ago | |
| stephenjude/api-test-helper | 0.81 | stephenjude/api-test-helper is a Laravel package that streamlines API testing with convenient helpers and expressive assertions for HTTP and JSON responses. It reduces boilerplate around authentication, request building, and response checks, helping you write cleaner, faster, more reliable API test... | 47 | — | 1 | — | 0 | 0.3 | — | MIT | 3 years ago | |
| lchrusciel/api-test-case | 0.81 | ApiTestCase is a PHPUnit TestCase for Symfony API development, extending WebTestCase with JSON/XML response matching via PHP-Matcher and optional Alice/Doctrine fixture loading. It supports a clear TDD workflow, readable assertion errors, and simple expected-response files. | 410 | 410 | 40 | 129K | 11 | 26.4 | 43.4 | MIT | 4 months ago | |
| matthiasnoback/doctrine-orm-test-service-provider | 0.81 | 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. | 1 | 1 | 3 | 88 | 1 | 11.8 | 22.0 | MIT | 9 months ago | |
| roundly-consulting/testing-for-laravel | 0.81 | A Laravel testing package that provides practical helpers and assertions to streamline feature and unit tests. It reduces boilerplate and makes it easier to write clear, reliable tests for Laravel applications, from HTTP interactions to application behavior. | 5 | — | 0 | — | 0 | 19.9 | — | MIT | 2 weeks ago | |
| imanghafoori/eloquent-mockery | 0.81 | — | 127 | 127 | 20 | 122 | 4 | 2.6 | 5.1 | MIT | 2 years ago | |
| mpyw/mockery-pdo | 0.81 | Experimental BDD-style PDO mocking library built on mockery/mockery. Define expectations for prepare/bind/execute and return rows via fetch/fetchAll in a fluent API, making PDO-based code easy to test on PHP 8.2+. | 3 | 3 | 2 | 1K | 1 | 5.1 | 34.5 | MIT | 10 months ago | |
| php-mock/php-mock | 0.81 | Mock built-in PHP functions like time() or rand() in tests by leveraging PHP’s namespace fallback: define namespaced replacements for unqualified calls. Works in non-global namespaces; supports common test frameworks via integrations (e.g., PHPUnit). | 370 | 375 | 19 | 726K | 3 | 13.0 | 47.8 | WTFPL | 9 months ago |
How can I help you explore Laravel packages today?