some-random-github-user-xd/laravel-medialibrary-with-permissions

dev-master 2021-11-13 15:28 UTC

This package is not auto-updated.

Last update: 2022-01-22 19:24:54 UTC


README

Installation

composer require some-random-github-user-xd/laravel-medialibrary-with-permissions

Description

It's just a small improvement of Spatie laravel media library

List of changes (for now):

  1. New field in migrations (foreignId->user_id)
  2. New method in traits when adding media (attachToUserId(int $userId))