Handling media in a Laravel app (Laracon US)

Handling media in a Laravel app (Laracon US)

A1b4b398630bbd32b77a82cbc37fae9a?s=128

Freek Van der Herten

July 25, 2018
Tweet

Transcript

  1. 2.

    The problem User uploaded content Where to store it all?

    How to retrieve it? How to optimize images?
  2. 4.

    Laravel Medialibrary Associate files with Eloquent models Can group media

    into collections Image conversions Uses multiple filesystems
  3. 6.

    Add file
 Upload, copy, … New media Derived formats
 Srcset,

    crops, thumbs, … Existing model
 Eg. news item Disks
 Local or remote Database
  4. 8.
  5. 9.
  6. 13.

    Teamwork Sebastian De Deyne
 @sebdedeyne
 
 Willem Van Bockstal
 @willemvbockstal


    
 Alex Vanderbist
 @alexvanderbist
 
 Brent Roose
 @brendt_gd
  7. 14.

    Thank you! Freek Van der Herten Partner & developer at

    SPATIE https://spatie.be/open-source https://ohdearapp.com https://murze.be