PHPackages                             phps-cans/quote-strategy.doctrine.escaping - 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. phps-cans/quote-strategy.doctrine.escaping

ActiveUser[Database &amp; ORM](/categories/database)

phps-cans/quote-strategy.doctrine.escaping
==========================================

This package contains an implementation of Doctrine\\ORM\\Mapping\\QuoteStrategy which automatically escape database reserved keyword for table and column alias.

1.0.x-dev(9y ago)31.1kMITPHPPHP &gt;= 5.6.0

Since Feb 16Pushed 9y ago2 watchersCompare

[ Source](https://github.com/phps-cans/quote-strategy.doctrine.escaping)[ Packagist](https://packagist.org/packages/phps-cans/quote-strategy.doctrine.escaping)[ Docs](https://github.com/phps-cans/quote-strategy.doctrine.escaping)[ RSS](/packages/phps-cans-quote-strategydoctrineescaping/feed)WikiDiscussions 1.0 Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (1)Used By (0)

Escaping Quote Strategy for Doctrine
====================================

[](#escaping-quote-strategy-for-doctrine)

As said in [Doctrine Documentation](http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html)is you want to use protected keywords for table or column name you will have to explicitly use ticks in the definition.

This will break NamingStrategy provide by doctrine and required you to know what words are protected in the database you use.

With this implementation of the QuoteStrategy interface you will not have to bother with it anymore.

Just add our EscapingQuoteStrategy to Doctrine configuration :

```
$configuration->setQuoteStrategy(new EscapingQuoteStrategy());
```

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

3468d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/988fb049e7b031fc14b8ce38b8f5bc3e40dbd6bfb3b5bc7f7061b68c41ba39f1?d=identicon)[xhuberty](/maintainers/xhuberty)

---

Top Contributors

[![xhuberty](https://avatars.githubusercontent.com/u/8350192?v=4)](https://github.com/xhuberty "xhuberty (3 commits)")

---

Tags

doctrineQuoteStrategyprotected keyword

### Embed Badge

![Health badge](/badges/phps-cans-quote-strategydoctrineescaping/health.svg)

```
[![Health](https://phpackages.com/badges/phps-cans-quote-strategydoctrineescaping/health.svg)](https://phpackages.com/packages/phps-cans-quote-strategydoctrineescaping)
```

###  Alternatives

[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.

12017.1k](/packages/rcsofttech-audit-trail-bundle)[api-platform/doctrine-orm

Doctrine ORM bridge

314.8M107](/packages/api-platform-doctrine-orm)

PHPackages © 2026

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