omaximus/laravel-pivot-polymorph
Composer 安装命令:
composer require omaximus/laravel-pivot-polymorph
包简介
Fully polymorphic pivot relations for laravel eloquent
README 文档
README
This package supports fully morph many-to-many relation.
Usage
Include trait \Pisochek\PivotPolymorph\Concerns\HasRelationships to model.
Then like any other relation, write, for example:
return $this->morphsTo('parentName', 'relatedName', 'table');
Any your thoughts and corrections/extensions are much appreciated, functionality is not full yet.
统计信息
- 总下载量: 26.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-01-15