$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
medialibrary (php antwerp)
Search
Freek Van der Herten
February 28, 2018
Programming
0
95
medialibrary (php antwerp)
Freek Van der Herten
February 28, 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
34
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
AWS CDKの推しポイントN選
akihisaikeda
1
240
ゲームの物理 剛体編
fadis
0
330
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
260
Integrating WordPress and Symfony
alexandresalome
0
150
手が足りない!兼業データエンジニアに必要だったアーキテクチャと立ち回り
zinkosuke
0
650
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
130
How Software Deployment tools have changed in the past 20 years
geshan
0
29k
Cell-Based Architecture
larchanjo
0
110
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
400
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
Why Kotlin? 電子カルテを Kotlin で開発する理由 / Why Kotlin? at Henry
agatan
2
7.1k
ローターアクトEクラブ アメリカンナイト:川端 柚菜 氏(Japan O.K. ローターアクトEクラブ 会長):2720 Japan O.K. ロータリーEクラブ2025年12月1日卓話
2720japanoke
0
730
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
710
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Why Our Code Smells
bkeepers
PRO
340
57k
What's in a price? How to price your products and services
michaelherold
246
12k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
70k
Thoughts on Productivity
jonyablonski
73
5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
The World Runs on Bad Software
bkeepers
PRO
72
12k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Transcript
Handling media in a Laravel app
About me Freek Van der Herten Partner & developer at
SPATIE Blogging at https://murze.be
About me phpantwerp.be Dries Vints @driesvints Frederick Vanbrabant @maybeFrederick
About me https://ohdearapp.com
Since 2003 Websites, applications and webshops Team 7 developers, 1
manager Specialization Laravel development
https://spatie.be/opensource
Open source software ± 150 packages on Packagist ± 9
600 000 downloads total, ±1 000 000 downloads a month A lot of benefits: learning, forced to write documentation and tests, showing the quality of our work, eating our own dogfood
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 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/v6 https://docs.spatie.be/image/v1/introduction https://www.youtube.com/watch?v=4lq_6JLR2H8 https://github.com/spatie/laravel-medialibrary Resources
Coming soon in v7 Greater control over media collections
Vue components Support for responsive images / srcset Release Q2 2018
Teamwork Sebastian De Deyne @sebdedeyne Willem Van Bockstal @willemvbockstal
Alex Vanderbist @alexvanderbist Brent Roose @brendt_gd
Thank you! https://joind.in/talk/3d14e https://speakerdeck.com/freekmurze/medialibrary-phpantwerp https://spatie.be/opensource https://ohdearapp.com https://murze.be
QUESTIONS?