Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Medialibrary (laravellive)

Medialibrary (laravellive)

Freek Van der Herten

March 17, 2018
Tweet

More Decks by Freek Van der Herten

Other Decks in Technology

Transcript

  1. Handling media
    in a Laravel app

    View Slide

  2. View Slide

  3. About me
    Freek Van der Herten
    Partner & developer at SPATIE
    Blogging at https://murze.be

    View Slide

  4. About me
    https://ohdearapp.com

    View Slide

  5. Since 2003
    Websites, applications and webshops
    Team
    6 developers, 1 manager
    Specialization
    Laravel development

    View Slide

  6. https://spatie.be/opensource

    View Slide

  7. Open source software
    + 150 packages on Packagist
    + 10 000 000 downloads total, +1 000 000 downloads a month
    A lot of benefits: learning, forced to write documentation and
    tests, showing the quality of our work, eating our own dogfood

    View Slide

  8. WE ❤ POSTCARDS

    View Slide

  9. Spatie

    Samberstraat 69D
    2060 Antwerp

    Belgium

    View Slide

  10. View Slide

  11. HANDLING MEDIA

    View Slide

  12. User uploaded content
    Where to store it all?
    How to retrieve it?
    How to optimize images?
    The problem

    View Slide

  13. LARAVEL MEDIALIBRARY

    View Slide

  14. Easily installed into any Laravel application
    Associate files with Eloquent models
    Can group media into collections
    Image conversions
    Uses multiple filesystems
    Laravel Medialibrary

    View Slide

  15. Optimize converted images
    Custom image generators
    Customize directory structure
    Custom attributes
    Laravel Medialibrary

    View Slide

  16. https://docs.spatie.be/laravel-medialibrary

    View Slide

  17. View Slide

  18. DEMO

    View Slide

  19. WRAPPING UP

    View Slide

  20. Coming soon in v7
    Greater control over media collections


    Support for responsive images / srcset




    Release Q2 2018

    View Slide

  21. Coming soon in v7
    Greater control over media collections


    Support for responsive images / srcset




    Let’s release it right now!

    View Slide

  22. https://docs.spatie.be/laravel-medialibrary/v7


    https://docs.spatie.be/image/v1/introduction


    https://github.com/spatie/laravel-medialibrary

    Resources

    View Slide

  23. Vue components
    Easy uploading
    Easy management of media collections in a back end UI

    Future plans

    View Slide

  24. Teamwork
    Sebastian De Deyne

    @sebdedeyne


    Willem Van Bockstal

    @willemvbockstal


    Alex Vanderbist

    @alexvanderbist


    Brent Roose

    @brendt_gd


    View Slide

  25. Thank you!
    https://speakerdeck.com/freekmurze/medialibrary-laravellive
    https://spatie.be/opensource
    https://ohdearapp.com
    https://murze.be

    View Slide

  26. QUESTIONS?

    View Slide