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 (php antwerp)
Search
Freek Van der Herten
February 28, 2018
Programming
100
0
Share
medialibrary (php antwerp)
Freek Van der Herten
February 28, 2018
More Decks by Freek Van der Herten
See All by Freek Van der Herten
Uncharted packages (ode aan de code)
freekmurze
0
61
Uncharted packages (Laravel Live Denmark)
freekmurze
0
250
I shall define this only once
freekmurze
0
470
An Introduction to Snapshot testing
freekmurze
0
550
Event Sourcing In Laravel
freekmurze
0
280
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
860
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
910
A practical look at multitenancy in Laravel
freekmurze
1
400
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
780
Other Decks in Programming
See All in Programming
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
510
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
140
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
430
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
190
Claude Codeログ基盤の構築
giginet
PRO
7
3.9k
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
300
How to stabilize UI tests using XCTest
akkeylab
0
150
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
210
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
120
Geminiをパートナーに神社DXシステムを個人開発した話(いなめぐDX 開発振り返り)
fujiba
0
130
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
190
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
220
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
Accessibility Awareness
sabderemane
0
92
The Limits of Empathy - UXLibs8
cassininazir
1
280
The Pragmatic Product Professional
lauravandoore
37
7.2k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
700
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
510
Bash Introduction
62gerente
615
210k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
340
Everyday Curiosity
cassininazir
0
180
Git: the NoSQL Database
bkeepers
PRO
432
67k
Transcript
Handling media in a Laravel app
About me Freek Van der Herten Partner & developer at
SPATIE Blogging at https://murze.be
About me phpantwerp.be Dries Vints @driesvints Frederick Vanbrabant @maybeFrederick
About me https://ohdearapp.com
Since 2003 Websites, applications and webshops Team 7 developers, 1
manager Specialization Laravel development
https://spatie.be/opensource
Open source software ± 150 packages on Packagist ± 9
600 000 downloads total, ±1 000 000 downloads a month A lot of benefits: learning, forced to write documentation and tests, showing the quality of our work, eating our own dogfood
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 optimize images? The problem
LARAVEL MEDIALIBRARY
Easily installed into any Laravel application 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 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
Coming soon in v7 Greater control over media collections
Vue components Support for responsive images / srcset Release Q2 2018
Teamwork Sebastian De Deyne @sebdedeyne Willem Van Bockstal @willemvbockstal
Alex Vanderbist @alexvanderbist Brent Roose @brendt_gd
Thank you! https://joind.in/talk/3d14e https://speakerdeck.com/freekmurze/medialibrary-phpantwerp https://spatie.be/opensource https://ohdearapp.com https://murze.be
QUESTIONS?