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 (laravel paris)
Search
Freek Van der Herten
November 30, 2017
Technology
0
210
Medialibrary (laravel paris)
Freek Van der Herten
November 30, 2017
Tweet
Share
More Decks by Freek Van der Herten
See All by Freek Van der Herten
Uncharted packages (ode aan de code)
freekmurze
0
49
Uncharted packages (Laravel Live Denmark)
freekmurze
0
240
I shall define this only once
freekmurze
0
460
An Introduction to Snapshot testing
freekmurze
0
530
Event Sourcing In Laravel
freekmurze
0
270
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
850
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
890
A practical look at multitenancy in Laravel
freekmurze
1
390
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
770
Other Decks in Technology
See All in Technology
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
170
AI時代、1年目エンジニアの悩み
jin4
1
160
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
530
セキュリティ はじめの一歩
nikinusu
0
1.5k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
0
320
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
690
Context Engineeringの取り組み
nutslove
0
270
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
130
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
390
Amazon Bedrock AgentCore 認証・認可入門
hironobuiga
2
500
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.5k
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
420
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
1
490
Practical Orchestrator
shlominoach
191
11k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
190
A Tale of Four Properties
chriscoyier
162
24k
Designing for humans not robots
tammielis
254
26k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
sira's awesome portfolio website redesign presentation
elsirapls
0
140
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
The Cult of Friendly URLs
andyhume
79
6.8k
Tell your own story through comics
letsgokoyo
1
800
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
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 6 developers, 1
manager Specialization Laravel development
https://spatie.be/opensource
http://github-awards.com/users?type=world&language=php Open source software
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 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 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 Greater control over media collections Vue components
Upload directly to S3 Support for responsive images / srcset
Thank you! https://speakerdeck.com/freekmurze/medialibrary-laravel-paris https://spatie.be/opensource https://murze.be https://murze.be/newsletter/
QUESTIONS?