PHPackages                             brick/date-time-doctrine - 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. brick/date-time-doctrine

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

brick/date-time-doctrine
========================

Doctrine type mappings for brick/date-time

0.6.0(5mo ago)11303.7k↓44.8%7[2 issues](https://github.com/brick/date-time-doctrine/issues)[2 PRs](https://github.com/brick/date-time-doctrine/pulls)MITPHPPHP ^8.2CI passing

Since Apr 26Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/brick/date-time-doctrine)[ Packagist](https://packagist.org/packages/brick/date-time-doctrine)[ GitHub Sponsors](https://github.com/BenMorel)[ RSS](/packages/brick-date-time-doctrine/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (8)Versions (15)Used By (0)

brick/date-time-doctrine
========================

[](#brickdate-time-doctrine)

[![](https://raw.githubusercontent.com/brick/brick/master/logo.png)](https://raw.githubusercontent.com/brick/brick/master/logo.png)

Doctrine type mappings for [brick/date-time](https://github.com/brick/date-time).

[![Build Status](https://github.com/brick/date-time-doctrine/workflows/CI/badge.svg)](https://github.com/brick/date-time-doctrine/actions)[![Coverage](https://camo.githubusercontent.com/9212582bbd16ccf684eb55dbf1c6cc99bbe07a6ef0ccbe43dfef84ffa0070c40/68747470733a2f2f636f6465636f762e696f2f6769746875622f627269636b2f646174652d74696d652d646f637472696e652f67726170682f62616467652e737667)](https://codecov.io/github/brick/date-time-doctrine)[![Latest Stable Version](https://camo.githubusercontent.com/21f8b7ce75023d83f1586c5db36c4232492756db03c9c9176fa3ae84f4dd5ef7/68747470733a2f2f706f7365722e707567782e6f72672f627269636b2f646174652d74696d652d646f637472696e652f762f737461626c65)](https://packagist.org/packages/brick/date-time-doctrine)[![Total Downloads](https://camo.githubusercontent.com/66c42e531b905278b3dc7c00bcc2203b6b92f6f5dfed804360c43bd4ccc33d04/68747470733a2f2f706f7365722e707567782e6f72672f627269636b2f646174652d74696d652d646f637472696e652f646f776e6c6f616473)](https://packagist.org/packages/brick/date-time-doctrine)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](http://opensource.org/licenses/MIT)

Introduction
------------

[](#introduction)

This library provides type mappings to use `brick/date-time` objects such as `LocalDate` as Doctrine entity properties.

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

[](#installation)

This library is installable via [Composer](https://getcomposer.org/):

```
composer require brick/date-time-doctrine
```

Requirements
------------

[](#requirements)

This library requires PHP 8.2 or later.

Project status &amp; release process
------------------------------------

[](#project-status--release-process)

The current releases are numbered `0.x.y`. When a non-breaking change is introduced (adding new methods, optimizing existing code, etc.), `y` is incremented.

**When a breaking change is introduced, a new `0.x` version cycle is always started.**

It is therefore safe to lock your project to a given release cycle, such as `0.5.*`.

If you need to upgrade to a newer release cycle, check the [release history](https://github.com/brick/date-time-doctrine/releases) for a list of changes introduced by each further `0.x.0` version.

Package contents
----------------

[](#package-contents)

- [LocalDateType](https://github.com/brick/date-time-doctrine/blob/master/src/Types/LocalDateType.php)
- [LocalTimeType](https://github.com/brick/date-time-doctrine/blob/master/src/Types/LocalTimeType.php)
- [LocalDateTimeType](https://github.com/brick/date-time-doctrine/blob/master/src/Types/LocalDateTimeType.php)
- [InstantType](https://github.com/brick/date-time-doctrine/blob/master/src/Types/InstantType.php)
- [DayOfWeekType](https://github.com/brick/date-time-doctrine/blob/master/src/Types/DayOfWeekType.php)
- [DurationType](https://github.com/brick/date-time-doctrine/blob/master/src/Types/DurationType.php)
- [PeriodType](https://github.com/brick/date-time-doctrine/blob/master/src/Types/PeriodType.php)

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance72

Regular maintenance activity

Popularity45

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 94.8% 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 ~156 days

Recently: every ~175 days

Total

12

Last Release

177d ago

PHP version history (4 changes)0.1.0PHP ^7.1 || ^8.0

0.3.0PHP ^7.4 || ^8.0

0.4.0PHP ^8.1

0.6.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/57189121968030f0770811b461cc92f9c19c08f5c4767292f2ede48b7277cfad?d=identicon)[BenMorel](/maintainers/BenMorel)

---

Top Contributors

[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (73 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")[![ekvedaras](https://avatars.githubusercontent.com/u/3586184?v=4)](https://github.com/ekvedaras "ekvedaras (1 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (1 commits)")[![ihmels](https://avatars.githubusercontent.com/u/9105856?v=4)](https://github.com/ihmels "ihmels (1 commits)")

---

Tags

brickdoctrinedatetime

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/brick-date-time-doctrine/health.svg)

```
[![Health](https://phpackages.com/badges/brick-date-time-doctrine/health.svg)](https://phpackages.com/packages/brick-date-time-doctrine)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8465.5M96](/packages/laravel-doctrine-orm)[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)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14385.8k4](/packages/flow-php-doctrine-dbal-bulk)

PHPackages © 2026

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