PHPackages                             webbingbrasil/eloquent-sti - 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. webbingbrasil/eloquent-sti

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

webbingbrasil/eloquent-sti
==========================

Brings a Single Table Inheritance capabilities to Eloquent.

1.0.0(7y ago)01.0k1MITPHPPHP &gt;=5.6.4|^7.0

Since Aug 31Pushed 2y ago2 watchersCompare

[ Source](https://github.com/webbingbrasil/eloquent-sti)[ Packagist](https://packagist.org/packages/webbingbrasil/eloquent-sti)[ RSS](/packages/webbingbrasil-eloquent-sti/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

Eloquent STI
============

[](#eloquent-sti)

Eloquent STI brings a Single Table Inheritance capabilities to Eloquent.

Installation
------------

[](#installation)

```
composer require "webbingbrasil/eloquent-sti=1.0.0"
```

Usage
-----

[](#usage)

Use the `CanBeInherited` trait in any entity to get STI capabilities in childs

```
use WebbingBrasil\EloquentSTI\CanBeInherited;

class User extends Model
{
    use CanBeInherited;
}
```

Now just extend the parent model with any child models

```
class Admin extends User
{
}

class Manager extends User
{
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2811d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/46c152ad4f73337f281add1d284040cf3ce36c8e16987c4668cc213f2bb90826?d=identicon)[dmandrade](/maintainers/dmandrade)

---

Top Contributors

[![dmandrade](https://avatars.githubusercontent.com/u/7275012?v=4)](https://github.com/dmandrade "dmandrade (1 commits)")

### Embed Badge

![Health badge](/badges/webbingbrasil-eloquent-sti/health.svg)

```
[![Health](https://phpackages.com/badges/webbingbrasil-eloquent-sti/health.svg)](https://phpackages.com/packages/webbingbrasil-eloquent-sti)
```

###  Alternatives

[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[aglipanci/laravel-eloquent-case

Adds CASE statement support to Laravel Query Builder.

115157.2k](/packages/aglipanci-laravel-eloquent-case)

PHPackages © 2026

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