PHPackages                             alameda-red/doctrine-extensions-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. alameda-red/doctrine-extensions-bundle

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

alameda-red/doctrine-extensions-bundle
======================================

Alameda Doctrine Extension bundle

0.0.2(10y ago)068MITPHPPHP &gt;=5.3.3

Since Jan 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/alameda-red/DoctrineExtensionsBundle)[ Packagist](https://packagist.org/packages/alameda-red/doctrine-extensions-bundle)[ Docs](https://github.com/alameda-red/DoctrineExtensionsBundle)[ RSS](/packages/alameda-red-doctrine-extensions-bundle/feed)WikiDiscussions master Synced 1mo ago

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

Alameda Doctrine Extensions bundle
==================================

[](#alameda-doctrine-extensions-bundle)

This bundle provides a couple of mathematical DQL functions to use in Doctrine. Furthermore it provides a couple of DBAL types.

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

[](#installation)

You can either modify your composer.json with

```
{
    "require" : {
        "alameda-red/doctrine-extensions-bundle" : "0.*"
    }
}
```

or run:

```
    $ composer require "alameda-red/doctrine-extensions-bundle=0.*"
```

Available DQL functions
-----------------------

[](#available-dql-functions)

- acos
- acosh
- asin
- asinh
- atan
- atan2
- atanh
- cos
- cosh
- degrees
- powe
- radians
- sin
- sinh
- tan
- tanh

There is also the alameda\_geo\_distance DQL function but due to limitations in the Doctrine DQL parser it does not work at this point.

Available DQL types
-------------------

[](#available-dql-types)

### dateinterval

[](#dateinterval)

This type will store \\DateInterval objects as string representations ('PT1H', 'P1D', ...).

### timestamp

[](#timestamp)

This type will handle UNIX timestamps.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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 ~340 days

Total

2

Last Release

3802d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/686dd1fc28b231825a6f2eab3d9dcd22b0a1181f53c83bad1515c45772210487?d=identicon)[zebba](/maintainers/zebba)

---

Top Contributors

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

---

Tags

typedoctrinedql

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alameda-red-doctrine-extensions-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/alameda-red-doctrine-extensions-bundle/health.svg)](https://phpackages.com/packages/alameda-red-doctrine-extensions-bundle)
```

###  Alternatives

[symfony/property-info

Extracts information about PHP class' properties using metadata of popular sources

2.2k256.7M854](/packages/symfony-property-info)[oro/doctrine-extensions

Doctrine Extensions for MySQL and PostgreSQL.

34411.8M19](/packages/oro-doctrine-extensions)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4636.8M12](/packages/fresh-doctrine-enum-bundle)[scienta/doctrine-json-functions

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

58523.9M36](/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.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)

PHPackages © 2026

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