PHPackages                             dsnetpl/doctrine-column-comment-bundle - 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. dsnetpl/doctrine-column-comment-bundle

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

dsnetpl/doctrine-column-comment-bundle
======================================

Modifying doctrine metadata so that doctrine knows that columns in the database have additional information - a comment.

v1.2.1(3mo ago)015.4kMITPHPPHP &gt;=8.2CI passing

Since Dec 2Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/dsnetpl/doctrine-column-comment-bundle)[ Packagist](https://packagist.org/packages/dsnetpl/doctrine-column-comment-bundle)[ RSS](/packages/dsnetpl-doctrine-column-comment-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (6)Dependencies (11)Versions (8)Used By (0)

Doctrine Column Comment Bundle
==============================

[](#doctrine-column-comment-bundle)

[![phpWorkflow](https://github.com/dsnetpl/doctrine-column-comment-bundle/actions/workflows/php.yml/badge.svg)](https://github.com/dsnetpl/doctrine-column-comment-bundle/actions/workflows/php.yml/badge.svg)

> *Bundle for Symfony &gt;= 4.4.0*

Modifying doctrine metadata so that doctrine knows that columns in the database have additional information.

Install
-------

[](#install)

```
$ composer require dsnetpl/doctrine-column-comment-bundle
```

If in project is not using [Symfony Flex](https://github.com/symfony/flex), should will be need to register a bundle:

```
# config/bundles.php
return [
    // ...
    Dsnetpl\DoctrineColumnCommentBundle::class => ['all' => true],
];
```

Using
-----

[](#using)

To add automatic comment to field in datatable in database. Should be modified Entity file:

```
//...

    /**
     * Comment must be written in docblock
     *
     * @ORM\Column()
     */
    private string $field;

//..
```

The next step is create diff on database:

```
$ bin/console doctrine:schema:update --dump-sql
```

If everything is well configured, the following query should be generated:

```
COMMENT ON COLUMN table.field IS 'Comment must be written in docblock'
```

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance83

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 86.2% 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

Every ~300 days

Recently: every ~189 days

Total

6

Last Release

116d ago

PHP version history (3 changes)v1.0.0PHP &gt;=7.4

v1.1.0PHP &gt;=8.1

v1.2.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/55127c6b2e74e9a00eb1b85447ac135f8e9aa3f5d568c75eec22f10e7bf5f2cf?d=identicon)[dsnet.pl](/maintainers/dsnet.pl)

---

Top Contributors

[![Suvres](https://avatars.githubusercontent.com/u/67355511?v=4)](https://github.com/Suvres "Suvres (25 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![GCth](https://avatars.githubusercontent.com/u/2381835?v=4)](https://github.com/GCth "GCth (2 commits)")

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dsnetpl-doctrine-column-comment-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dsnetpl-doctrine-column-comment-bundle/health.svg)](https://phpackages.com/packages/dsnetpl-doctrine-column-comment-bundle)
```

###  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)
