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 yesterday

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 26% 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

3855d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1733631?v=4)[Sebastian](/maintainers/zebba)[@zebba](https://github.com/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.2k278.6M1.2k](/packages/symfony-property-info)[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)[oro/doctrine-extensions

Doctrine Extensions for MySQL and PostgreSQL.

34412.3M24](/packages/oro-doctrine-extensions)[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.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

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

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

58825.9M54](/packages/scienta-doctrine-json-functions)

PHPackages © 2026

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