PHPackages                             nkt/doctrine-columns - 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. nkt/doctrine-columns

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

nkt/doctrine-columns
====================

Code entities fast

0.1.1(12y ago)15641MITPHPPHP &gt;=5.4

Since Mar 24Pushed 11y agoCompare

[ Source](https://github.com/nkt/doctrine-columns)[ Packagist](https://packagist.org/packages/nkt/doctrine-columns)[ RSS](/packages/nkt-doctrine-columns/feed)WikiDiscussions master Synced 2w ago

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

Doctrine columns
================

[](#doctrine-columns)

Why?
----

[](#why)

Because stop copy-paste code. Reuse it!

How!?
-----

[](#how)

Just use column-trait, that you need.

```
use Nkt\Column;
use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity
 * @ORM\Table(name="books")
 */
class Book
{
    use Column\Id;
    use Column\Name;
    use Column\Description;
    use Column\Price;

    public function __construct($name, $description)
    {
        $this->setName($name);
        $this->setDescription($description);
    }
}
```

How I can help?
---------------

[](#how-i-can-help)

Add your popular column and get rid of copy-paste!

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~1 days

Total

2

Last Release

4479d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3505878?v=4)[Nikita Gusakov](/maintainers/nkt)[@nkt](https://github.com/nkt)

---

Top Contributors

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

---

Tags

schemadoctrinesqltraitentitycopy paste

### Embed Badge

![Health badge](/badges/nkt-doctrine-columns/health.svg)

```
[![Health](https://phpackages.com/badges/nkt-doctrine-columns/health.svg)](https://phpackages.com/packages/nkt-doctrine-columns)
```

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

1175.2k](/packages/rcsofttech-audit-trail-bundle)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8405.5M96](/packages/laravel-doctrine-orm)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4627.0M12](/packages/fresh-doctrine-enum-bundle)[ergebnis/factory-bot

Provides a fixture factory for doctrine/orm entities.

81707.5k](/packages/ergebnis-factory-bot)[api-platform/doctrine-orm

Doctrine ORM bridge

293.9M78](/packages/api-platform-doctrine-orm)[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.

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

PHPackages © 2026

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