NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
Packagist
Packagist, #2002 most downloaded on Packagist
A simple eloquent trait that allows relationships to be accessed through child models.
Latest stable
1.6.0
Last release 8 months ago
03 Mar 2026
Release timing varies
gaps range from 4 weeks to 11 months
Most releases are documented
notes for 24 of 34 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
34 releases Β· first in 2017
Drag across the ruler to compare, or tap a release to open it.
Laravel 13.x Compatibility by @laravel-shift in https://github.com/tighten/parental/pull/148
Full Changelog: https://github.com/tighten/parental/compare/v1.5.0...v1.6.0
Attention: We had to rework how we detect double model event dispatching to support Laravel 13, which requires registering model events inside whenBooted callbacks (see this). If you bind event handlers to the parent class, we recommend you test it out extensively and report back if you find anything.
Adds become method by @gcavanunez in https://github.com/tighten/parental/pull/144
become method by @gcavanunez in https://github.com/tighten/parental/pull/144classToAlias to support mixed types. by @gokure in https://github.com/tighten/parental/pull/145Full Changelog: https://github.com/tighten/parental/compare/v1.4.3...v1.5.0
Your coding agent can read these notes before it upgrades. Set up the MCP server β
adds .gitattributes by @gcavanunez in https://github.com/tighten/parental/pull/141
.gitattributes by @gcavanunez in https://github.com/tighten/parental/pull/141Full Changelog: https://github.com/tighten/parental/compare/v1.4.2...v1.4.3
Laravel 12.x Compatibility by @laravel-shift in https://github.com/tighten/parental/pull/140
Full Changelog: https://github.com/tighten/parental/compare/v1.4.1...v1.4.2
Align type definitions to Laravel by @lorenzolosa in https://github.com/tighten/parental/pull/136
Full Changelog: https://github.com/tighten/parental/compare/v1.4.0...v1.4.1
Fix namespace on docs by @nguyentranchung in https://github.com/tighten/parental/pull/125
Full Changelog: https://github.com/tighten/parental/compare/v1.3.6...v1.4.0
Merge child class fillable traits with those of the parent class by @gcavanunez in https://github.com/tighten/parental/pull/120
Full Changelog: https://github.com/tighten/parental/compare/v1.3.5...v1.3.6
Check existence of childTypes method by @hctorres02 in https://github.com/tighten/parental/pull/111
Full Changelog: https://github.com/tighten/parental/compare/v1.3.4...v1.3.5
Use abstract class as parent. by @LenRick in https://github.com/tighten/parental/pull/109
calebporzio to tightenco by @driftingly in https://github.com/tighten/parental/pull/106type field by @marcoguido in https://github.com/tighten/parental/pull/110Full Changelog: https://github.com/tighten/parental/compare/v1.3.3...v1.3.4
Support for Laravel 10 by @wilfredchen in https://github.com/tighten/parental/pull/108
Full Changelog: https://github.com/tighten/parental/compare/1.3.2...v1.3.3
fix: HasManyThrough and HasOneThrough not working by @tsterker in https://github.com/calebporzio/parental/pull/105
Full Changelog: https://github.com/calebporzio/parental/compare/v1.3.1...1.3.2
Improvements by @JustSteveKing in https://github.com/calebporzio/parental/pull/97
Full Changelog: https://github.com/calebporzio/parental/compare/v1.3.0...v1.3.1
Allow child types to be set via a method. by @kayrunm in https://github.com/calebporzio/parental/pull/99
Full Changelog: https://github.com/calebporzio/parental/compare/v1.2.0...v1.3.0
Better resolution of polymorphic relations for sub models in STI by @ziming in https://github.com/calebporzio/parental/pull/102
Full Changelog: https://github.com/calebporzio/parental/compare/v1.1.0...v1.2.0
Laravel 9 release thanks to some awesome PR work by @laravel-shift πͺ
Laravel 9 release thanks to some awesome PR work by @laravel-shift πͺ
With Laravel 7 being end of lifed, moving this package forward with a new major version.
With Laravel 7 being end of lifed, moving this package forward with a new major version.
The code to this point is working, all old PRs have been closed for now - if you wish to reopen any of the submitted PRs, please merge changes downstream to your PR before reopening. This will allow us to get test coverage insights on PRs without having to pull these locally.
Soon to come: Doc blocks and typehints everywhere
Nothing published for this version
## Added * Support for Laravel 7
Support for using Parental in standalone Eloquent scenario [#47]
Changed the root namespace from "Tightenco" to "" (nothing)
Compatibility with Laravel 6.0
Compatibility with Laravel 6.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Polymorphic relationship support
Nothing published for this version
Nothing published for this version
Nothing published for this version
type column property changed from $inheritanceColumn to $childTypeColumn
$inheritanceColumn to $childTypeColumn$childTypeAliasesNothing published for this version
Now models created with factories will have the "type" column set.
Now models created with factories will have the "type" column set.
Nothing published for this version
The first release including support for laravel 5.4
The first release including support for laravel 5.4
One column per quarter.