laravel-medialibrary

Associate files with Eloquent models (by spatie)

Laravel-medialibrary Alternatives

Similar projects and alternatives to laravel-medialibrary

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better laravel-medialibrary alternative or higher similarity.

laravel-medialibrary reviews and mentions

Posts with mentions or reviews of laravel-medialibrary. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-05.
  • Nova with Spatie MediaLibrary
    3 projects | /r/laravel | 5 Apr 2023
    I have it working ok for a single image using this idea but need the user to be able to add multiple images.
  • What's up with spatie not touching s3
    2 projects | /r/laravel | 6 Oct 2022
    The current version as of writing this is 10.5.2 released 8 days ago.
  • Spatie Media Library has a server crashing vulnerability
    3 projects | /r/laravel | 20 Apr 2022
  • Best practice: Image path in each model or single shared Image model?
    1 project | /r/laravel | 27 Nov 2021
    Use this, i use it in all my projects.
  • Polymorphism in the database
    1 project | /r/laravel | 17 Sep 2021
    An example of a good use of a polymorphic relationship can be seen in the Rails Active Storage module, which allows you to attach files to a model, and instead of duplicating the database columns and tables for each model that has attachments, there are two general tables: activestorage_attachments (attachments; relationship info) and activestorage_blobs (blobs; file info). A model can have one or many attachments (has_one_attachment and has_many_attachments, both can be used more than once depending on your needs), an attachment belongs to a record (record_id and record_type) and belongs to a blob (blob_id), and blobs have one attachment. You can access an attachment attribute on the related model like so, user.avatar # has_one_attachment(:avatar); or for many attachments of the same type, user.photos # an array of attachments; has_many_attachments(:photos). There’s a Laravel package similar to this called spatie/laravel-medialibrary.
  • Laravel + angular
    1 project | /r/laravel | 10 Mar 2021
    For storing files and associating them with models, I can highly recommend Spatie's Media Library. Used it in a project recently and haven't had any hassle with it.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic laravel-medialibrary repo stats
7
5,581
9.0
1 day ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com