PHPackages                             imagina/ilocation-module - 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. imagina/ilocation-module

ActiveLaravel-module[Utility &amp; Helpers](/categories/utility)

imagina/ilocation-module
========================

Imagina Ilocation laravel module

1.0.0(8mo ago)026PHP

Since Aug 29Pushed 7mo agoCompare

[ Source](https://github.com/imagina/imaginacms-ilocation)[ Packagist](https://packagist.org/packages/imagina/ilocation-module)[ RSS](/packages/imagina-ilocation-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

imaginacms-ilocation
====================

[](#imaginacms-ilocation)

Implementation with Modules
---------------------------

[](#implementation-with-modules)

### In the Entity (Models/Entity)

[](#in-the-entity-modelsentity)

- Add Events

```
 public array $dispatchesEventsWithBindings = [
    'created' => [['path' => 'Modules\Ilocation\Events\CreateLocation']],
    'creating' => [],
    'updated' => [['path' => 'Modules\Ilocation\Events\UpdateLocation']],
    'updating' => [],
    'deleting' => [['path' => 'Modules\Ilocation\Events\DeleteLocation']],
    'deleted' => []
];
```

- Add relation:

```
public function locations()
{
    if (isModuleEnabled('Ilocation')) {
        return app(\Modules\Ilocation\Relations\LocationsRelation::class)->resolve($this);
    }
    return new \Imagina\Icore\Relations\EmptyRelation();
}
```

- Post Locatable:

```
"locatable": {
    "city_id": 1,
    "country_id": 1,
    "province_id": 1,
    "address": "calle 1 #2-3"
    "lat": "-142.545469874",
    "lng": "85.639821"
}

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance62

Regular maintenance activity

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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 ~41 days

Total

2

Last Release

220d ago

Major Versions

1.0.0 → v12.x-dev2025-10-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bc4bd5d733cfbe7e145670fbb1539bdb8d33f43c2cca4f26a119d37dfbad62f?d=identicon)[imagina](/maintainers/imagina)

---

Top Contributors

[![imagina](https://avatars.githubusercontent.com/u/758247?v=4)](https://github.com/imagina "imagina (1 commits)")[![msolanogithub](https://avatars.githubusercontent.com/u/38920570?v=4)](https://github.com/msolanogithub "msolanogithub (1 commits)")

### Embed Badge

![Health badge](/badges/imagina-ilocation-module/health.svg)

```
[![Health](https://phpackages.com/badges/imagina-ilocation-module/health.svg)](https://phpackages.com/packages/imagina-ilocation-module)
```

PHPackages © 2026

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