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)49808.2k—2%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 1mo 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 90% 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

1200d 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.

58523.9M36](/packages/scienta-doctrine-json-functions)[nettrine/dbal

Doctrine DBAL for Nette Framework

322.6M19](/packages/nettrine-dbal)[jsor/doctrine-postgis

Spatial and Geographic Data with PostGIS and Doctrine.

2191.6M1](/packages/jsor-doctrine-postgis)[larapack/doctrine-support

Better Doctrine Support with Laravel (Support for `enum`)

1752.3M55](/packages/larapack-doctrine-support)[laravel-doctrine/fluent

A fluent PHP mapping driver for Doctrine2.

43430.3k13](/packages/laravel-doctrine-fluent)[awssat/laravel-sync-migration

Laravel tool helps to sync migrations without refreshing the database

10923.2k](/packages/awssat-laravel-sync-migration)

PHPackages © 2026

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