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
Handling media in a Laravel app (Apeldoorn)
Search
Freek Van der Herten
September 26, 2019
Programming
360
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
70
Uncharted packages (Laravel Live Denmark)
freekmurze
0
270
I shall define this only once
freekmurze
0
490
An Introduction to Snapshot testing
freekmurze
0
580
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
930
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
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
160
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
310
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
100
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
570
エンジニアにデザインハーネスを 〜デザインプロセスを規定するためのハーネス〜 / Design harness from an engineer's perspective
rkaga
2
1.4k
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
350
信頼性について考えてみる(SRE NEXT 2026 miniLT)
hayama17
0
160
Creating Composable Callables in Contemporary C++
rollbear
0
200
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
170
Webフレームワークの ベンチマークについて
yusukebe
0
200
symfony/aiとlaravel/boost
77web
0
120
継続モナドとリアクティブプログラミング
yukikurage
3
490
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
330
The Limits of Empathy - UXLibs8
cassininazir
1
440
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
420
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
410
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
460
The Curse of the Amulet
leimatthew05
2
13k
Crafting Experiences
bethany
1
210
Into the Great Unknown - MozCon
thekraken
41
2.6k
Building AI with AI
inesmontani
PRO
1
1.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
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