Pro Yearly is on sale from $80 to $50! »

Handling media in a Laravel app (Laracon eu)

Handling media in a Laravel app (Laracon eu)

A1b4b398630bbd32b77a82cbc37fae9a?s=128

Freek Van der Herten

August 30, 2018
Tweet

Transcript

  1. Handling media
 in a Laravel app

  2. Freek Van der Herten Partner & developer at SPATIE @freekmurze

    https://spatie.be https://ohdearapp.com https://fullstackeurope.com https://murze.be
  3. Open source software

  4. https://spatie.be/open-source

  5. Some statistics ± 200 public repositories on GitHub August 2016:

    ± 800 000 downloads August 2017: ± 5 000 000 downloads August 2018: ± 17 000 000 downloads ± 1 250 000 downloads a month https://murze.be/the-story-behind-our-open-source-efforts
  6. Postcardware

  7. Spatie
 Samberstraat 69D
 2060 Antwerp
 Belgium


  8. https://spatie.be/open-source/postcards

  9. Let's talk 
 about media

  10. The problem User uploaded content Where to store it all?

    How to retrieve it? How to optimize images?
  11. The problem Boring code to write Need the same things

    in every project Write it slightly different in each project
  12. Laravel 
 Medialibrary

  13. Laravel Medialibrary Associate files with Eloquent models Can group media

    into collections Image conversions Uses multiple filesystems
  14. Laravel Medialibrary Optimize converted images Custom image generators Customize directory

    structure Custom attributes
  15. https://docs.spatie.be/laravel-medialibrary

  16. None
  17. Demo

  18. Wrapping up

  19. Resources https://github.com/spatie/medialibrary-demo-laracon
 
 https://docs.spatie.be/laravel-medialibrary/v7
 
 https://www.youtube.com/watch?v=4lq_6JLR2H8
 
 https://github.com/spatie/laravel-medialibrary

  20. Future plans Vue components
 
 Uploads
 
 Nova Tool
 


    Release Q4 2018 - Q1 2019
  21. Teamwork Sebastian De Deyne
 @sebdedeyne
 
 Willem Van Bockstal
 @willemvbockstal


    
 Alex Vanderbist
 @alexvanderbist
 
 Brent Roose
 @brendt_gd
  22. Freek Van der Herten Partner & developer at SPATIE @freekmurze

    https://spatie.be https://ohdearapp.com https://fullstackeurope.com https://murze.be