Slide 1

Slide 1 text

Handling media in a Laravel app

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

About me phpantwerp.be Dries Vints @driesvints Frederick Vanbrabant @maybeFrederick

Slide 4

Slide 4 text

About me https://ohdearapp.com

Slide 5

Slide 5 text

Since 2003 Websites, applications and webshops Team 7 developers, 1 manager Specialization Laravel development

Slide 6

Slide 6 text

https://spatie.be/opensource

Slide 7

Slide 7 text

Open source software ± 150 packages on Packagist ± 9 600 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

Slide 8

Slide 8 text

WE ❤ POSTCARDS

Slide 9

Slide 9 text

Spatie
 Samberstraat 69D 2060 Antwerp
 Belgium

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

HANDLING MEDIA

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

LARAVEL MEDIALIBRARY

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

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

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

DEMO

Slide 19

Slide 19 text

WRAPPING UP

Slide 20

Slide 20 text

https://docs.spatie.be/laravel-medialibrary/v6
 
 https://docs.spatie.be/image/v1/introduction
 
 https://www.youtube.com/watch?v=4lq_6JLR2H8
 
 https://github.com/spatie/laravel-medialibrary
 Resources

Slide 21

Slide 21 text

Coming soon in v7 Greater control over media collections
 
 Vue components
 
 Support for responsive images / srcset
 
 Release Q2 2018
 


Slide 22

Slide 22 text

Teamwork Sebastian De Deyne
 @sebdedeyne
 
 Willem Van Bockstal
 @willemvbockstal
 
 Alex Vanderbist
 @alexvanderbist
 
 Brent Roose
 @brendt_gd
 


Slide 23

Slide 23 text

Thank you! 
 https://joind.in/talk/3d14e https://speakerdeck.com/freekmurze/medialibrary-phpantwerp https://spatie.be/opensource https://ohdearapp.com https://murze.be

Slide 24

Slide 24 text

QUESTIONS?