tighten/parental
Some data may be outdated — see provenance labels.
Use single table inheritance in your Laravel app observed · 2026-10-01
Health v2 · maintenance only
73/100
- Activity 76
- Release rhythm 54
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 50.5
- age_days: 3367
- days_rel: 231
- days_push: 149
- n_releases_24m: 5
Adoption not part of the score
1541 stars · 104 forks observed · 2026-10-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Parental is a Laravel package that adds single table inheritance (STI) to Eloquent models. It lets child models extend a parent model while sharing the same database table, with automatic type-column-based model resolution.
Use cases
- use single table inheritance in laravel eloquent models
- extend a model without creating a new database table
- return child model instances when querying a parent model
- store multiple model types in one table with a type column
- avoid laravel guessing wrong table and foreign key names for subclassed models
- map type column values to class names with aliases
When to choose
- you use laravel eloquent and want STI behavior
- several model variants share one table but need distinct behavior
- you want child models returned automatically from parent queries
When to avoid
- you use a framework other than laravel
- you prefer separate tables per model type or entity inheritance
- your models need different schemas per subclass
Facets
library · maturity stable
orm web-development backend databases php laravel eloquent single-table-inheritance sti polymorphism
1 source
- readme: https://github.com/tighten/parental · fetched 2026-10-01 · e23cec009b06
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tighten/parental | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="tighten/parental")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem