PHPackages                             uginroot/doctrine-type-location - 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. uginroot/doctrine-type-location

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

uginroot/doctrine-type-location
===============================

Php doctrine type location

v1.2(6y ago)05MITPHPPHP ^7.2

Since Mar 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/uginroot/doctrine-type-location)[ Packagist](https://packagist.org/packages/uginroot/doctrine-type-location)[ RSS](/packages/uginroot-doctrine-type-location/feed)WikiDiscussions master Synced today

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

Php doctrine type location
==========================

[](#php-doctrine-type-location)

Doctrine location type from this [Location](https://github.com/uginroot/php-location) class

Install
-------

[](#install)

```
composer request uginroot/doctrine-type-location:^1.2
```

Example
-------

[](#example)

### Registration type

[](#registration-type)

```
# config/packages/doctrine.yaml
doctrine:
    dbal:
        types:
            Location: 'Uginroot\DoctrineTypeLocation\LocationDoctrineType'
```

### Use type

[](#use-type)

```
use Uginroot\PhpLocation\Location;
use Doctrine\ORM\Mapping as ORM;

class User{
    // ...

    /**
     * @ORM\Column(type="Location")
     * @var Location|null
     */
    private $location;

    /**
     * @return Location|null
     */
    public  function getLocation(): ?Location{
        return $this->location;
    }

    /**
     * @param Location|null $location
     * @return $this
     */
    public  function setLocation(?Location $location):self {
        $this->location = $location;
        return $this;
    }
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

3

Last Release

2235d ago

PHP version history (2 changes)v1.0PHP ^7.4

v1.2PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c76c2491b71e1ee1d93f2dbaa614c09360ea520872f4522211805df136e3306b?d=identicon)[uginroot](/maintainers/uginroot)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/uginroot-doctrine-type-location/health.svg)

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

###  Alternatives

[scienta/doctrine-json-functions

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

58523.9M35](/packages/scienta-doctrine-json-functions)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[pixelfederation/doctrine-resettable-em-bundle

Symfony bundle for decorating default entity managers using a resettable decorator.

20113.5k](/packages/pixelfederation-doctrine-resettable-em-bundle)[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.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[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.

813.1k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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