Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Medialibrary (Laravel Brussels)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Freek Van der Herten
November 14, 2017
Technology
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Medialibrary (Laravel Brussels)
Freek Van der Herten
November 14, 2017
More Decks by Freek Van der Herten
See All by Freek Van der Herten
Uncharted packages (ode aan de code)
freekmurze
0
77
Uncharted packages (Laravel Live Denmark)
freekmurze
0
270
I shall define this only once
freekmurze
0
500
An Introduction to Snapshot testing
freekmurze
0
600
Event Sourcing In Laravel
freekmurze
0
300
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
900
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
950
A practical look at multitenancy in Laravel
freekmurze
1
420
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
810
Other Decks in Technology
See All in Technology
WasmをRustにする
sansantech
PRO
0
250
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
go-sqletch
moznion
0
140
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
430
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
110
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
110
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
900
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
Rust で関数型ドメインモデリング
takonda
0
140
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
630
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Automating Front-end Workflow
addyosmani
1369
210k
Crafting Experiences
bethany
1
380
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
How STYLIGHT went responsive
nonsquared
100
6.3k
Believing is Seeing
oripsolob
1
240
Mind Mapping
helmedeiros
1
400
How to Talk to Developers About Accessibility
jct
2
580
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
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?