PHPackages                             lagan/property-onetomany - 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. lagan/property-onetomany

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

lagan/property-onetomany
========================

Controller for the Lagan one-to-many property. Lets the user define a one-to-many relation between two content objects.

v1.1.0(9y ago)07711MITPHPPHP &gt;=5.5.0

Since May 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lutsen/property-onetomany)[ Packagist](https://packagist.org/packages/lagan/property-onetomany)[ RSS](/packages/lagan-property-onetomany/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)DependenciesVersions (5)Used By (1)

[![Lagan](https://camo.githubusercontent.com/f15c7f77d6c4711b4863d681c4d5b83f0579933b0c85cf1e341613bf3a7f0b18/68747470733a2f2f63646e2e7261776769742e636f6d2f6c757473656e2f6c6167616e2f6d61737465722f6c6167616e2d6c6f676f2e737667)](https://github.com/lutsen/lagan)

Lagan One-to-many Property Controller
=====================================

[](#lagan-one-to-many-property-controller)

Controller for the Lagan one-to-many property.
Lets the user define a one-to-many relation between two content objects.

The Onetomany property type controller enables a one-to-many relation between 2 Lagan models. The name of the property should be the name of the Lagan model this model can have a one-to-many relation with. For this to work properly the other model should have a many-to-one relation with this model. So in our example in the Lagan project the Lagan Hoverkraft model has a one-to-many relation with the Lagan Crew model, and the Lagan Crew model has a many-to-one relation with the Lagan Hoverkraft model.

To be used with [Lagan](https://github.com/lutsen/lagan). Lagan lets you create flexible content objects with a simple class, and manage them with a web interface.

Lagan is a project of [Lútsen Stellingwerff](http://lutsen.net/).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

3429d ago

Major Versions

v0.1.1 → v1.0.02016-05-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1068123?v=4)[Lútsen Stellingwerff](/maintainers/lutsen)[@lutsen](https://github.com/lutsen)

---

Tags

laganphppropertycontrollerrelationone-to-manylagan

### Embed Badge

![Health badge](/badges/lagan-property-onetomany/health.svg)

```
[![Health](https://phpackages.com/badges/lagan-property-onetomany/health.svg)](https://phpackages.com/packages/lagan-property-onetomany)
```

###  Alternatives

[symfony/property-info

Extracts information about PHP class' properties using metadata of popular sources

2.2k270.7M1.1k](/packages/symfony-property-info)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2111.2M16](/packages/reedware-laravel-relation-joins)[biiiiiigmonster/hasin

Laravel framework relation has in implement

154578.1k](/packages/biiiiiigmonster-hasin)[dcat/laravel-wherehasin

Laravel ORM whereHasIn

247159.4k5](/packages/dcat-laravel-wherehasin)[voskobovich/yii2-linker-behavior

This behavior makes it easy to maintain many-to-many and one-to-many relations in your ActiveRecord models.

79330.6k9](/packages/voskobovich-yii2-linker-behavior)[mootensai/yii2-relation-trait

Yii 2 Models load with relation, &amp; transaction save with relation

47229.1k9](/packages/mootensai-yii2-relation-trait)

PHPackages © 2026

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