PHPackages                             marktopper/doctrine-dbal-timestamp-type - 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. marktopper/doctrine-dbal-timestamp-type

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

marktopper/doctrine-dbal-timestamp-type
=======================================

Add the timestamp type for Doctrine/DBAL

v1.1.0(3y ago)49832.9k↓32.3%10[1 issues](https://github.com/marktopper/doctrine-dbal-timestamp-type/issues)1MITPHPPHP &gt;=5.6.4

Since Nov 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/marktopper/doctrine-dbal-timestamp-type)[ Packagist](https://packagist.org/packages/marktopper/doctrine-dbal-timestamp-type)[ RSS](/packages/marktopper-doctrine-dbal-timestamp-type/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (1)Versions (7)Used By (1)

Doctrine/DBAL Timestamp Type
============================

[](#doctrinedbal-timestamp-type)

Since Doctrine/DBAL does not support the MySQL Timestamp type, you might want to add it on your own using this package.

Why using this?
---------------

[](#why-using-this)

According to [this issue](https://github.com/doctrine/dbal/issues/2558), [Doctrine/DBAL](https://github.com/doctrine/dbal) does not support MySQL-specific database types like this one. Therefor we must add it ourself.

Installation
------------

[](#installation)

```
composer require marktopper/doctrine-dbal-timestamp-type

```

Then add the type to `Doctrine\DBAL`:

```
\Doctrine\DBAL\Types\Type::addType('timestamp', 'MarkTopper\DoctrineDBALTimestampType\TimestampType');

```

### Laravel 5

[](#laravel-5)

You can use the Laravel Provider to ensure that the type is added to Doctrine\\DBAL by adding the following to providers:

```
MarkTopper\DoctrineDBALTimestampType\Laravel5ServiceProvider::class,

```

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 76.5% 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 ~565 days

Total

5

Last Release

1246d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d02cdb7563da13d24667b14025c67a4e2fc52a104becc8bfe384da21d056768?d=identicon)[marktopper](/maintainers/marktopper)

![](https://www.gravatar.com/avatar/6141a177566f48e0d7d01d88f960e68ef42cdb87d903f6d7ddff17d985435e0e?d=identicon)[fletch3555](/maintainers/fletch3555)

![](https://www.gravatar.com/avatar/5e5f8e26e1ca25e044bd3bc07ef40da5c52ece42432b5adb08a5800dad431b45?d=identicon)[emptynick](/maintainers/emptynick)

---

Top Contributors

[![marktopper](https://avatars.githubusercontent.com/u/2232539?v=4)](https://github.com/marktopper "marktopper (13 commits)")[![jonrobinson](https://avatars.githubusercontent.com/u/1872553?v=4)](https://github.com/jonrobinson "jonrobinson (2 commits)")[![c17r](https://avatars.githubusercontent.com/u/148640?v=4)](https://github.com/c17r "c17r (1 commits)")[![patrickomeara](https://avatars.githubusercontent.com/u/571773?v=4)](https://github.com/patrickomeara "patrickomeara (1 commits)")

---

Tags

laraveldatabasemysqldoctrinedbaltimestamp

### Embed Badge

![Health badge](/badges/marktopper-doctrine-dbal-timestamp-type/health.svg)

```
[![Health](https://phpackages.com/badges/marktopper-doctrine-dbal-timestamp-type/health.svg)](https://phpackages.com/packages/marktopper-doctrine-dbal-timestamp-type)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58825.9M54](/packages/scienta-doctrine-json-functions)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4585.8M4](/packages/martin-georgiev-postgresql-for-doctrine)[nettrine/dbal

Doctrine DBAL for Nette Framework

332.7M24](/packages/nettrine-dbal)[laravel-doctrine/migrations

Doctrine Migrations for Laravel

792.9M17](/packages/laravel-doctrine-migrations)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14385.8k4](/packages/flow-php-doctrine-dbal-bulk)[jawira/db-draw

📐 Takes a DoctrineORM connection and generates a database diagram in .puml format

22113.6k3](/packages/jawira-db-draw)

PHPackages © 2026

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