Skip to content

A trait used to permit Plank\Laravel-Mediable media to be attached to a new entity immediately after its creation (once its identifier is known)

License

Notifications You must be signed in to change notification settings

tibbsa/deferredmediable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeferredMediable

DeferredMediable is a trait that handles the attachment of Mediable entities to new entities that are in the process of being created. This becomes relevant when, for example, uploading files to be attached to a new post on a blog: they can only be attached once the post is created and its ID is known. With this trait in place, intended attached Mediables are queued and attached once the new post has been created.

Builds on Plank's Laravel-Mediable package.

Example Usage

(to be done)

Installation

Add the package to your Laravel app using composer

composer require tibbsa/deferredmediable

License

This package is released under the MIT license (MIT).

About

A trait used to permit Plank\Laravel-Mediable media to be attached to a new entity immediately after its creation (once its identifier is known)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages