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
Handling media in a Laravel app (Apeldoorn)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Freek Van der Herten
September 26, 2019
Programming
370
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Handling media in a Laravel app (Apeldoorn)
Freek Van der Herten
September 26, 2019
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 Programming
See All in Programming
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
140
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
240
速習iPhone Duo対応
yuukiw00w
1
510
wkhtmltopdfの次どうするか問題2026
willnet
1
110
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
350
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
620
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
330
Family mrubyの進捗
kishima
1
120
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
200
AI活用は、個人から組織へ|マルチプレイヤーエージェントハーネス「QM」の社内活用事例 / AI use is moving from individuals to orgs
rkaga
1
110
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
2.9k
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
190
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
230
Writing Fast Ruby
sferik
630
63k
The SEO Collaboration Effect
kristinabergwall1
1
570
KATA
mclloyd
PRO
35
15k
How to train your dragon (web standard)
notwaldorf
97
6.8k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
My Coaching Mixtape
mlcsv
0
310
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
580
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Transcript
Handling media in a Laravel app
Freek Van der Herten Partner & developer at SPATIE @freekmurze
https://spatie.be https://flareapp.io https://ohdear.app https://freek.dev
Open source software
https://spatie.be/open-source
Some statistics on our open source work ± 250 public
repositories on GitHub August 2016: ± 800 000 downloads August 2017: ± 5 000 000 downloads August 2018: ± 17 000 000 downloads August 2019: ± 45 000 000 downloads ± 2 700 000 downloads a month https://freek.dev/the-story-behind-our-open-source-efforts
Postcardware
Spatie Samberstraat 69D 2060 Antwerp Belgium
https://spatie.be/open-source/postcards
Let's talk about media
The problem User uploaded content Where to store it all?
How to retrieve it? How to optimize images?
The problem Boring code to write Need the same things
in every project Write it slightly different in each project
Laravel Medialibrary
Laravel Medialibrary 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
https://docs.spatie.be/laravel-medialibrary
None
Demo
Wrapping up
Resources https://docs.spatie.be/laravel-medialibrary/v7 https://www.youtube.com/watch?v=4lq_6JLR2H8 https://github.com/spatie/laravel-medialibrary
Future plans JavaScript components Uploads Release Q1 2020
Teamwork Sebastian De Deyne @sebdedeyne Willem Van Bockstal @willemvbockstal
Alex Vanderbist @alexvanderbist Brent Roose @brendt_gd
Freek Van der Herten Partner & developer at SPATIE @freekmurze
https://spatie.be https://flareapp.io https://ohdear.app https://freek.dev