$30 off During Our Annual Pro Sale. View Details »

medialibrary (phpgent)

medialibrary (phpgent)

Freek Van der Herten

May 03, 2018
Tweet

More Decks by Freek Van der Herten

Other Decks in Programming

Transcript

  1. Handling media
    in a Laravel app

    View Slide

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

    View Slide

  3. https://fullstackantwerp.be https://fullstackbelgium.be

    View Slide

  4. About me
    https://ohdearapp.com

    View Slide

  5. 15 years of dedication
    Websites, applications and webshops
    Team
    6 and growing
    Specialization
    Tailor made development
    Open source

    View Slide

  6. OPEN SOURCE

    View Slide

  7. A household name
    More than 175 packages released
    Laravel ecosystem, JavaScript, PHP
    12 million downloads in total, growing ±1 million a month
    4th position worldwide in PHP on Github

    View Slide

  8. Learning & improving: +750 external contributors
    Writing documentation and tests
    Eating our own dog food
    Building expertise, attracting new clients
    Clear benefits

    View Slide

  9. Documented & discussed

    View Slide

  10. WE’RE HIRING
    https://spatie.be/en/vacancies

    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. https://docs.spatie.be/laravel-medialibrary/v7


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


    https://www.youtube.com/watch?v=4lq_6JLR2H8


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

    Resources

    View Slide

  21. Coming soon
    Vue components


    Uploads


    Administering a media collection


    Release Q3 2018


    View Slide

  22. Teamwork
    Sebastian De Deyne

    @sebdedeyne


    Willem Van Bockstal

    @willemvbockstal


    Alex Vanderbist

    @alexvanderbist


    Brent Roose

    @brendt_gd


    View Slide

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

    View Slide