Download the PHP package jaspaul/eloquent-sti without Composer
On this page you can find all versions of the php package jaspaul/eloquent-sti. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jaspaul/eloquent-sti
More information about jaspaul/eloquent-sti
Files in jaspaul/eloquent-sti
Download jaspaul/eloquent-sti
More information about jaspaul/eloquent-sti
Files in jaspaul/eloquent-sti
Vendor jaspaul
Package eloquent-sti
Short Description A simple single table inheritance library for eloquent.
License MIT
Package eloquent-sti
Short Description A simple single table inheritance library for eloquent.
License MIT
Please rate this library. Is it a good library?
Informations about the package eloquent-sti
Eloquent STI (Single Table Inheritance)
Install
Via Composer
Requirements
The following versions of PHP are supported by this version.
- PHP 7.2
- PHP 7.3
- PHP 7.4
Usage
Now when you select users through the User model, they'll be returned with the associated type. For instance if you have a record in the users table with the type administrator, an Administrator object will be returned when you run User::where('type', 'administrator')->first()
.
All versions of eloquent-sti with dependencies
PHP Build Version
Package Version
The package jaspaul/eloquent-sti contains the following files
Loading the files please wait ....