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
Freek Van der Herten
November 14, 2017
Technology
330
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
74
Uncharted packages (Laravel Live Denmark)
freekmurze
0
270
I shall define this only once
freekmurze
0
490
An Introduction to Snapshot testing
freekmurze
0
590
Event Sourcing In Laravel
freekmurze
0
290
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
890
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
940
A practical look at multitenancy in Laravel
freekmurze
1
410
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
800
Other Decks in Technology
See All in Technology
AI時代、データエンジニアが一番おもろい
genshun9
0
600
LTのテーマ どうきめてる?〜5つの型と私のやり方〜
yama3133
1
110
Reactの設計論
uhyo
24
13k
Geolonia の開発現場における AIの活用について
miya0001
0
100
AI時代の「技術的負債」の変質ー概念の終焉と再解釈、エージェントと共に向かう先
nwiizo
0
2.6k
すぐできる衛星通信対応 あとは山奥に行くだけ
tatetate55
0
130
beyond jj: config & tools ecosystem
indirect
0
440
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
0
2.2k
安心して変更できるWebフロントエンドの作り方
pirosikick
4
2.5k
技術的負債から考える、AI時代のエンジニアリング投資 — ビズリーチの技術的負債と向き合った経験から、変更し続けられるソフトウェアを考える/ technical-debt-con2026
visional_engineering_and_design
3
3k
DEFCON_CHV_CTF_Write-up.pdf
bata_24
0
150
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
250
Featured
See All Featured
Speed Design
sergeychernyshev
33
2.1k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
700
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Leo the Paperboy
mayatellez
10
2.3k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
540
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
450
Marketing to machines
jonoalderson
1
5.8k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Mobile First: as difficult as doing things right
swwweet
225
10k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
The Cost Of JavaScript in 2023
addyosmani
55
10k
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?