Speaker Deck
Speaker Deck Pro
Sign in
Sign up
for free
Medialibrary (laravel paris)
Freek Van der Herten
November 30, 2017
Technology
0
94
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
190
freekmurze
1
360
freekmurze
1
190
freekmurze
0
340
freekmurze
0
110
freekmurze
1
320
freekmurze
0
310
freekmurze
0
100
freekmurze
0
46
Other Decks in Technology
See All in Technology
yukitodate
2
310
ishiayaya
PRO
0
320
greymd
0
600
kentaro
1
320
soachr
1
150
satotakeshi
0
160
ray_30cm_ns
0
280
satotakeshi
2
410
am7cinnamon
2
2.6k
sasakendayo
2
260
shirayanagiryuji
1
400
kenya888
1
110
Featured
See All Featured
marktimemedia
6
330
matthewcrist
73
7.5k
tmm1
61
8.3k
yeseniaperezcruz
302
31k
mza
80
4.1k
philhawksworth
190
17k
lemiorhan
626
42k
morganepeng
92
13k
chrislema
231
16k
dougneiner
55
5.4k
bkeepers
321
53k
lara
172
9.5k
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?