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 Brussels)
Freek Van der Herten
November 14, 2017
Technology
0
250
Medialibrary (Laravel Brussels)
Freek Van der Herten
November 14, 2017
Tweet
Share
More Decks by Freek Van der Herten
See All by Freek Van der Herten
An Introduction to Snapshot testing
freekmurze
0
210
Event Sourcing In Laravel
freekmurze
0
140
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
460
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
1
490
A practical look at multitenancy in Laravel
freekmurze
1
240
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
450
Highlights Flare codebase (Laracon online)
freekmurze
0
180
Introducing Mailcoach
freekmurze
1
380
Highlights from the Flare codebase (Full Stack Ghent)
freekmurze
0
420
Other Decks in Technology
See All in Technology
Custom AppをIP制限ありのままで審査に通す方法
yusuga
0
690
Persistence in Serverless Applications - ServerlessDays NYC
marcduiker
0
250
miisan's career talk
mii3king
0
230
220628 「Google AppSheet」タスク管理アプリをライブ作成 吉積情報伊藤さん
comucal
PRO
0
240
UWBを使ってみた
norioikedo
0
430
MoT TechTalk #12 タクシーアプリ『GO』大規模トラフィックを捌く分析データ基盤の全容に迫る!
mot_techtalk
1
380
雑な攻撃からELBを守る一工夫 +おまけ / Know-how to protect servers from miscellaneous attacks
hiroga
0
540
開発組織の生産性を可視化する State of DevOpsとFour Keysとは / deep dive into State of DevOps
yfcgpsebp
0
300
Introduction To Technical Writing
olawanle_joel
0
100
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
3
9.1k
【個人的】オブジェクト指向の現在地
toranoana
0
180
リファインメントは楽しいかね?
kitamu_mu
1
550
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
344
17k
4 Signs Your Business is Dying
shpigford
169
20k
BBQ
matthewcrist
74
7.9k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
100
5.9k
The Web Native Designer (August 2011)
paulrobertlloyd
74
1.9k
The Cult of Friendly URLs
andyhume
68
4.8k
The Language of Interfaces
destraynor
148
20k
Fireside Chat
paigeccino
12
1.3k
Code Review Best Practice
trishagee
43
9.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
316
22k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
655
120k
GraphQLの誤解/rethinking-graphql
sonatard
28
6.6k
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 5 developers, 1
manager Specialization Laravel development
https://spatie.be/en/vacancies
https://spatie.be/opensource
WE ❤ POSTCARDS
None
Spatie Samberstraat 69D 2060 Antwerp Belgium
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 Easily installed into any Laravel application 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 Vue components Upload directly to S3
Support for responsive images / srcset
Thank you! https://speakerdeck.com/freekmurze/medialibrary-laravel-brussels https://spatie.be/opensource https://murze.be https://murze.be/newsletter/
QUESTIONS?