Registry / orm / staudenmeir-belongs-to-through

staudenmeir-belongs-to-through

JSON →
library2.16.4phppackagistunverified

Laravel Eloquent BelongsToThrough relationships.

composer require staudenmeir/belongs-to-through
INSTALL
IMPORT
SIG · STAUDENMEIR-BELONG
S
staudenmeir-belongs-to-through
ormphpv2.16.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HasBelongsToThrough
use Staudenmeir\BelongsToThrough\HasBelongsToThrough;

Use the trait in an Eloquent model to define BelongsToThrough relationships.

use Staudenmeir\BelongsToThrough\HasBelongsToThrough; class Post extends Model { use HasBelongsToThrough; }
Debug
Known issues
breakingRequires Laravel 5.5+ and PHP 7.0+.
fix
Ensure your Laravel and PHP versions meet the minimum requirements.
affects: <2.0.0
Upgrade
Version history
2.16.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Resources
staudenmeir-belongs-to-through — pip install staudenmeir-belongs-to-through · libregistry