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 (php antwerp)
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Freek Van der Herten
February 28, 2018
Programming
110
0
Share
medialibrary (php antwerp)
Freek Van der Herten
February 28, 2018
More Decks by Freek Van der Herten
See All by Freek Van der Herten
Uncharted packages (ode aan de code)
freekmurze
0
66
Uncharted packages (Laravel Live Denmark)
freekmurze
0
260
I shall define this only once
freekmurze
0
480
An Introduction to Snapshot testing
freekmurze
0
570
Event Sourcing In Laravel
freekmurze
0
280
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
880
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
920
A practical look at multitenancy in Laravel
freekmurze
1
400
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
790
Other Decks in Programming
See All in Programming
The NotImplementedError Problem in Ruby
koic
1
440
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
690
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
160
RTSPクライアントを自作してみた話
simotin13
0
440
エージェンティックRAGにAWSで入門しよう!
har1101
5
120
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
270
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
440
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
900
Oxcを導入して開発体験が向上した話
yug1224
4
280
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.8k
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
240
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
320
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
Designing Experiences People Love
moore
143
24k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Are puppies a ranking factor?
jonoalderson
1
3.5k
ラッコキーワード サービス紹介資料
rakko
1
3.5M
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Believing is Seeing
oripsolob
1
140
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
600
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Discover your Explorer Soul
emna__ayadi
2
1.1k
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?