Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
medialibrary (php antwerp)
Freek Van der Herten
February 28, 2018
Programming
0
56
medialibrary (php antwerp)
Freek Van der Herten
February 28, 2018
Tweet
Share
More Decks by Freek Van der Herten
See All by Freek Van der Herten
I shall define this only once
freekmurze
0
240
An Introduction to Snapshot testing
freekmurze
0
250
Event Sourcing In Laravel
freekmurze
0
160
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
530
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
540
A practical look at multitenancy in Laravel
freekmurze
1
250
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
500
Highlights Flare codebase (Laracon online)
freekmurze
0
220
Introducing Mailcoach
freekmurze
1
420
Other Decks in Programming
See All in Programming
ポケモンで学ぶiOS 16弾丸ツアー 🚅
giginet
PRO
1
610
コンピュータビジョンセミナー2 / computer_vision_seminar_libSGM
fixstars
0
320
Swift Observation
shiz
3
290
Milestoner
bkuhlmann
1
240
僕が考えた超最強のKMMアプリの作り方
spbaya0141
0
180
Listかもしれない
irof
1
250
Rust、何もわからない...#6発表資料
ryu19
0
120
SwiftPMのPlugin入門 / introduction_to_swiftpm_plugin
uhooi
2
100
Makuakeの認証基盤とRe-Architectureチーム
bmf_san
0
570
LIFFで動く割り勘アプリTATEKAをリリースしてみた話
inoue2002
0
250
domain層のモジュール化 / MoT TechTalk #15
mot_techtalk
0
110
How to Fight Production Incidents?
asatarin
0
190
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
396
63k
How to train your dragon (web standard)
notwaldorf
66
4.2k
How to Ace a Technical Interview
jacobian
270
21k
Embracing the Ebb and Flow
colly
75
3.6k
Building Better People: How to give real-time feedback that sticks.
wjessup
346
17k
The Mythical Team-Month
searls
210
40k
Three Pipe Problems
jasonvnalue
89
8.9k
Creatively Recalculating Your Daily Design Routine
revolveconf
207
11k
The Brand Is Dead. Long Live the Brand.
mthomps
48
2.9k
Scaling GitHub
holman
453
140k
Music & Morning Musume
bryan
37
4.6k
Practical Orchestrator
shlominoach
178
8.9k
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?