PHPackages                             torifat/eloquent-single-table-inheritance - 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. torifat/eloquent-single-table-inheritance

ActiveLibrary

torifat/eloquent-single-table-inheritance
=========================================

Single Table Inheritance (STI) implemented as a Trait for Laravel Eloquent models

39[1 issues](https://github.com/torifat/eloquent-single-table-inheritance/issues)PHP

Since Jan 7Pushed 11y ago3 watchersCompare

[ Source](https://github.com/torifat/eloquent-single-table-inheritance)[ Packagist](https://packagist.org/packages/torifat/eloquent-single-table-inheritance)[ RSS](/packages/torifat-eloquent-single-table-inheritance/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Eloquent Single Table Inheritance Trait
---------------------------------------

[](#eloquent-single-table-inheritance-trait)

[![Code Climate](https://camo.githubusercontent.com/e2f93b03afbe5f7a8ca8230d2d7488a0f03da567f553598324df92a3e60b77d4/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f746f72696661742f656c6f7175656e742d73696e676c652d7461626c652d696e6865726974616e63652e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/torifat/eloquent-single-table-inheritance)[![Codacy](https://camo.githubusercontent.com/29f8d4e87cf582c9792cc939286cb81deba49737fe0ce67ca64e7f4cea55d2e0/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f36636461373739353534306534616137386666373163353764663866346361612e7376673f7374796c653d666c61742d737175617265)](https://github.com/torifat/eloquent-single-table-inheritance)[![SensioLabs Insight](https://camo.githubusercontent.com/af8a41653b3cd5fe4b040b99a0c7b56f863ec3f1abb860aa308cdcef419adf7e/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f65623134363165622d383238652d343832312d613038322d6431363861356338373266632e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/eb1461eb-828e-4821-a082-d168a5c872fc)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a379aefeaa55b0834af4de6116753561d9fd32237711dab90bfdafd046dfc89?d=identicon)[rifat](/maintainers/rifat)

---

Top Contributors

[![torifat](https://avatars.githubusercontent.com/u/208544?v=4)](https://github.com/torifat "torifat (7 commits)")

### Embed Badge

![Health badge](/badges/torifat-eloquent-single-table-inheritance/health.svg)

```
[![Health](https://phpackages.com/badges/torifat-eloquent-single-table-inheritance/health.svg)](https://phpackages.com/packages/torifat-eloquent-single-table-inheritance)
```

PHPackages © 2026

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