Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Medialibrary (laravel paris)
Freek Van der Herten
November 30, 2017
Technology
0
96
Medialibrary (laravel paris)
Freek Van der Herten
November 30, 2017
Tweet
Share
More Decks by Freek Van der Herten
See All by Freek Van der Herten
freekmurze
0
86
freekmurze
0
290
freekmurze
1
380
freekmurze
1
200
freekmurze
0
360
freekmurze
0
120
freekmurze
1
330
freekmurze
0
320
freekmurze
0
100
Other Decks in Technology
See All in Technology
gunnargrosch
0
200
kateinoigakukun
0
120
you
0
120
aizurage
0
120
kadoppe
1
150
finengine
0
240
legalforce
PRO
0
150
tatsy
0
120
k1low
13
2.4k
halhira
1
100
legalforce
PRO
0
160
kenichimunezawa
0
820
Featured
See All Featured
matthewcrist
73
7.5k
imathis
479
150k
malarkey
392
61k
destraynor
146
19k
deanohume
294
28k
tmm1
61
9.9k
skipperchong
8
780
jeffersonlam
330
15k
vanstee
117
4.9k
jasonvnalue
81
8.1k
3n
163
22k
jonrohan
1021
390k
Transcript
Handling media in a Laravel app
About me Freek Van der Herten Partner & developer at
SPATIE Blogging at https://murze.be Building https://ohdearapp.com
About me phpantwerp.be Dries Vints @driesvints Frederick Vanbrabant @maybeFrederick
Since 2003 Websites, applications and webshops Team 6 developers, 1
manager Specialization Laravel development
https://spatie.be/opensource
http://github-awards.com/users?type=world&language=php Open source software
WE ❤ POSTCARDS
Spatie Samberstraat 69D 2060 Antwerp Belgium
None
HANDLING MEDIA
User uploaded content Where to store it all? How to
retrieve it? How to create derived images? The problem
LARAVEL MEDIALIBRARY
Associate files with Eloquent models Can group media into collections
Image conversions Uses multiple filesystems Easily installed into any Laravel application Laravel Medialibrary
Optimize converted images Custom image generators Customize directory structure Custom
attributes Laravel Medialibrary
https://docs.spatie.be/laravel-medialibrary
None
DEMO
WRAPPING UP
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
Future plans Greater control over media collections Vue components
Upload directly to S3 Support for responsive images / srcset
Thank you! https://speakerdeck.com/freekmurze/medialibrary-laravel-paris https://spatie.be/opensource https://murze.be https://murze.be/newsletter/
QUESTIONS?