Download the PHP package patinthehat/laravel-dynamic-relations without Composer
On this page you can find all versions of the php package patinthehat/laravel-dynamic-relations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download patinthehat/laravel-dynamic-relations
More information about patinthehat/laravel-dynamic-relations
Files in patinthehat/laravel-dynamic-relations
Download patinthehat/laravel-dynamic-relations
More information about patinthehat/laravel-dynamic-relations
Files in patinthehat/laravel-dynamic-relations
Vendor patinthehat
Package laravel-dynamic-relations
Short Description dynamic relations for Laravel and Lumen
License MIT
Package laravel-dynamic-relations
Short Description dynamic relations for Laravel and Lumen
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-dynamic-relations
Laravel DynamicRelations
An extension of Illuminate\Database\Eloquent\Model
that allows relationships to be called as dynamic properties, such as:
Installation
Install with composer: composer require patinthehat/laravel-dynamic-relations
Usage
To use, extend the DynamicModel
class. In the child class, override the $dynamicRelations
array property, adding items that correlate to relation names.
Now, your relations can be accessed dynamically:
All versions of laravel-dynamic-relations with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.4
The package patinthehat/laravel-dynamic-relations contains the following files
Loading the files please wait ....