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(5mo ago)015.4kMITPHPPHP &gt;=8.2CI passing

Since Dec 2Pushed 5mo 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 today

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

46

—

FairBetter than 92% of packages

Maintenance70

Regular maintenance activity

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

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

172d 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

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

1189.8k](/packages/rcsofttech-audit-trail-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)

PHPackages © 2026

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