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 3w ago

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

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2288d ago

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

v1.2PHP ^7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2391460?v=4)[Soroka Anton](/maintainers/uginroot)[@uginroot](https://github.com/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

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[api-platform/doctrine-orm

Doctrine ORM bridge

294.4M91](/packages/api-platform-doctrine-orm)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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