PHPackages                             dnwk/doctrine-readonly-middleware - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. dnwk/doctrine-readonly-middleware

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

dnwk/doctrine-readonly-middleware
=================================

0.0.1(2y ago)05MITPHPPHP &gt;=8.0

Since Mar 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/DnwK98/doctrine-readonly-middleware)[ Packagist](https://packagist.org/packages/dnwk/doctrine-readonly-middleware)[ RSS](/packages/dnwk-doctrine-readonly-middleware/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Doctrine Readonly Middleware
----------------------------

[](#doctrine-readonly-middleware)

The Doctrine Readonly Middleware package enables readonly connections within your application. Please note that this package is experimental and may not function optimally in all scenarios. Its purpose is to facilitate connections to readonly databases, allowing thorough testing of your application under such conditions.

### Installation

[](#installation)

You can install the package via Composer:

```
composer require dnwk/doctrine-readonly-middleware
```

### Usage

[](#usage)

To use the middleware, simply invoke static method

```
ReadonlyMiddleware::enable();
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

785d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5cf2324fa8e404cba3c665837a41c6c3043beda7ff12a2b11951cc9e79fd3ca?d=identicon)[Dnkw](/maintainers/Dnkw)

---

Top Contributors

[![DnwK98](https://avatars.githubusercontent.com/u/44768842?v=4)](https://github.com/DnwK98 "DnwK98 (1 commits)")

### Embed Badge

![Health badge](/badges/dnwk-doctrine-readonly-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/dnwk-doctrine-readonly-middleware/health.svg)](https://phpackages.com/packages/dnwk-doctrine-readonly-middleware)
```

###  Alternatives

[hautelook/alice-bundle

Symfony bundle to manage fixtures with Alice and Faker.

19519.4M34](/packages/hautelook-alice-bundle)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[pixelfederation/doctrine-resettable-em-bundle

Symfony bundle for decorating default entity managers using a resettable decorator.

20113.5k](/packages/pixelfederation-doctrine-resettable-em-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

813.1k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
