Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Medialibrary (laravel paris)
Search
Freek Van der Herten
November 30, 2017
Technology
0
190
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
Uncharted packages (ode aan de code)
freekmurze
0
26
Uncharted packages (Laravel Live Denmark)
freekmurze
0
220
I shall define this only once
freekmurze
0
420
An Introduction to Snapshot testing
freekmurze
0
510
Event Sourcing In Laravel
freekmurze
0
260
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
830
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
860
A practical look at multitenancy in Laravel
freekmurze
1
360
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
740
Other Decks in Technology
See All in Technology
Node.js 2025: What's new and what's next
ruyadorno
0
330
このままAIが発展するだけでAGI達成可能な理由
frievea
0
100
AgentCon Accra: Ctrl + Alt + Assist: AI Agents Edition
bethany
0
110
AI Agent Dojo #2 watsonx Orchestrateフローの作成
oniak3ibm
PRO
0
120
JAZUG 15周年記念 × JAT「AI Agent開発者必見:"今"のOracle技術で拡張するAzure × OCIの共存アーキテクチャ」
shisyu_gaku
1
160
[Keynote] What do you need to know about DevEx in 2025
salaboy
0
170
カンファレンスに託児サポートがあるということ / Having Childcare Support at Conferences
nobu09
1
580
やる気のない自分との向き合い方/How to Deal with Your Unmotivated Self
sanogemaru
0
510
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
310
20251014_Pythonを実務で徹底的に使いこなした話
ippei0923
0
200
新規事業におけるGORM+SQLx併用アーキテクチャ
hacomono
PRO
0
280
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
6
250
Fireside Chat
paigeccino
40
3.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
20
1.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
115
20k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Music & Morning Musume
bryan
46
6.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Embracing the Ebb and Flow
colly
88
4.8k
Building Adaptive Systems
keathley
44
2.8k
The World Runs on Bad Software
bkeepers
PRO
72
11k
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?