laravel-relationship-events:缺少Laravel的关系事件

时间:2024-02-23 21:39:44
【文件属性】:

文件名称:laravel-relationship-events:缺少Laravel的关系事件

文件大小:48KB

文件格式:ZIP

更新时间:2024-02-23 21:39:44

events laravel relationship relations LaravelPHP

Laravel关系事件 Laravel缺少关系事件 安装 使用composer安装软件包 稳定分支: composer require chelout/laravel-relationship-events 开发部门: composer require chelout/laravel-relationship-events:dev-master 在模型中使用必要的特征。 可用特征: HasOneEvents HasBelongsToEvents HasManyEvents HasBelongsToManyEvents HasMorphOneEvents HasMorphToEvents HasMorphManyEvents HasMorphToManyEvents HasMorphedByManyEvents use Chelout \ RelationshipEvents \ Concerns \ HasOneEvents ; use Illuminate \ Database \ Eloquent \ Model ; class User extends M


【文件预览】:
laravel-relationship-events-master
----composer.json(1KB)
----.github()
--------workflows()
----tests()
--------Stubs()
--------Feature()
--------TestCase.php(925B)
----src()
--------RelationshipEventsServiceProvider.php(952B)
--------MorphTo.php(2KB)
--------Helpers()
--------BelongsTo.php(2KB)
--------BelongsToMany.php(4KB)
--------Concerns()
--------MorphedByMany.php(4KB)
--------Traits()
--------HasMany.php(437B)
--------Contracts()
--------MorphMany.php(972B)
--------MorphToMany.php(4KB)
--------MorphOne.php(442B)
--------HasOne.php(432B)
----doc()
--------5-one-to-one-polymorphic.md(4KB)
--------6-one-to-many-polymorphic.md(4KB)
--------4-has-many-through.md(54B)
--------3-many-to-many.md(5KB)
--------1-one-to-one.md(4KB)
--------2-one-to-many.md(4KB)
--------7-many-to-many-polymorphic.md(5KB)
----LICENSE.md(1KB)
----.gitignore(180B)
----phpunit.xml.dist(730B)
----.styleci.yml(23B)
----README.md(5KB)
----.gitattributes(111B)

网友评论