PHPackages                             heimrichhannot/contao-location-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. heimrichhannot/contao-location-bundle

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

heimrichhannot/contao-location-bundle
=====================================

This bundle adds a location entity to contao.

2.2.2(1y ago)1668↑25%LGPL-3.0-or-laterPHPPHP ^7.4 || ^8.0

Since Jun 14Pushed 6mo agoCompare

[ Source](https://github.com/heimrichhannot/contao-location-bundle)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-location-bundle)[ RSS](/packages/heimrichhannot-contao-location-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (4)Versions (11)Used By (0)

Contao Location Bundle
======================

[](#contao-location-bundle)

This bundle adds a location entity to contao.

Features
--------

[](#features)

- adds a new (nestable) location entity
- ConfigElementType for [List](https://github.com/heimrichhannot/contao-list-bundle) and [Reader bundle](https://github.com/heimrichhannot/contao-reader-bundle)

Setup and Usage
---------------

[](#setup-and-usage)

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

[](#installation)

Install via composer: `composer require heimrichhannot/contao-location-bundle` and update your database.

### Usage

[](#usage)

A typical use case for location is to set location in another entity like news or events. So you need to add it to the destiny bundle dca. There are many ways in contao to make a connection to locations like selects or checkboxes. Our recommendation is to use the contao picker widget:

```
$dca['tl_news']['fields']['locations'] = [
    'inputType' => 'picker',
    'relation' => ['type' => 'hasOne', 'load' => 'eager', 'table' => 'tl_location'],
    'eval' => [
        'multiple' => true, //
        'tl_class' => 'w50 clr autoheight'
    ],
    'sql' => 'blob NULL',
]
```

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance55

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 52.9% 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 ~263 days

Recently: every ~268 days

Total

9

Last Release

471d ago

Major Versions

1.0.1 → 2.0.02021-10-28

PHP version history (3 changes)1.0.0PHP ^7.1

2.0.0PHP ^7.4

2.1.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (9 commits)")[![LongDuc89](https://avatars.githubusercontent.com/u/183475641?v=4)](https://github.com/LongDuc89 "LongDuc89 (5 commits)")[![vvohh](https://avatars.githubusercontent.com/u/75325799?v=4)](https://github.com/vvohh "vvohh (2 commits)")[![Defcon0](https://avatars.githubusercontent.com/u/1485098?v=4)](https://github.com/Defcon0 "Defcon0 (1 commits)")

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-location-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-location-bundle/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-location-bundle)
```

PHPackages © 2026

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