Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
medialibrary (phpgent)
Search
Freek Van der Herten
May 03, 2018
Programming
0
260
medialibrary (phpgent)
Freek Van der Herten
May 03, 2018
Tweet
Share
More Decks by Freek Van der Herten
See All by Freek Van der Herten
Uncharted packages (ode aan de code)
freekmurze
0
33
Uncharted packages (Laravel Live Denmark)
freekmurze
0
230
I shall define this only once
freekmurze
0
450
An Introduction to Snapshot testing
freekmurze
0
520
Event Sourcing In Laravel
freekmurze
0
270
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
840
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
880
A practical look at multitenancy in Laravel
freekmurze
1
380
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
750
Other Decks in Programming
See All in Programming
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
160
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
170
Socio-Technical Evolution: Growing an Architecture and Its Organization for Fast Flow
cer
PRO
0
200
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
380
[SF Ruby Conf 2025] Rails X
palkan
0
400
tparseでgo testの出力を見やすくする
utgwkk
1
110
React Native New Architecture 移行実践報告
taminif
1
130
CSC305 Lecture 15
javiergs
PRO
0
230
認証・認可の基本を学ぼう前編
kouyuume
0
140
Integrating WordPress and Symfony
alexandresalome
0
110
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
24
20k
【レイトレ合宿11】kagayaki_v4
runningoutrate
0
220
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
119
20k
Context Engineering - Making Every Token Count
addyosmani
9
450
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
70
Why You Should Never Use an ORM
jnunemaker
PRO
60
9.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
960
Transcript
Handling media in a Laravel app
About me Freek Van der Herten Partner & developer at
SPATIE Blogging at https://murze.be
https://fullstackantwerp.be https://fullstackbelgium.be
About me https://ohdearapp.com
15 years of dedication Websites, applications and webshops Team 6
and growing Specialization Tailor made development Open source
OPEN SOURCE
A household name More than 175 packages released Laravel ecosystem,
JavaScript, PHP 12 million downloads in total, growing ±1 million a month 4th position worldwide in PHP on Github
Learning & improving: +750 external contributors Writing documentation and tests
Eating our own dog food Building expertise, attracting new clients Clear benefits
Documented & discussed
WE’RE HIRING https://spatie.be/en/vacancies
HANDLING MEDIA
User uploaded content Where to store it all? How to
retrieve it? How to optimize images? The problem
LARAVEL MEDIALIBRARY
Easily installed into any Laravel application Associate files with Eloquent
models Can group media into collections Image conversions Uses multiple filesystems 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/v7 https://docs.spatie.be/image/v1/introduction https://www.youtube.com/watch?v=4lq_6JLR2H8 https://github.com/spatie/laravel-medialibrary Resources
Coming soon Vue components Uploads Administering a media
collection Release Q3 2018
Teamwork Sebastian De Deyne @sebdedeyne Willem Van Bockstal @willemvbockstal
Alex Vanderbist @alexvanderbist Brent Roose @brendt_gd
Thank you! https://speakerdeck.com/freekmurze/medialibrary-phpgent https://spatie.be/opensource https://ohdearapp.com https://murze.be