Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Medialibrary (Laravel Brussels)
Freek Van der Herten
November 14, 2017
Technology
0
260
Medialibrary (Laravel Brussels)
Freek Van der Herten
November 14, 2017
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 Technology
See All in Technology
私見「UNIXの考え方」/20230124-kameda-unix-phylosophy
opelab
0
160
Multi-Cloud Gatewayでデータを統治せよ!/ Data Federation with MCG
tutsunom
1
230
金属加工屋の営業マンがSTマイクロで・・・
usashirou
0
160
Oracle Transaction Manager for Microservices Free 22.3 製品概要
oracle4engineer
PRO
5
100
Cloudflare Workersで動くOG画像生成器
aiji42
1
490
【NGK2023S】 ノードエディタ形式の画像処理ツール「Image-Processing-Node-Editor」
kazuhitotakahashi
0
280
USB PD で迎える AC アダプター大統一時代
puhitaku
2
1.9k
Oracle Cloud Infrastructure:2023年1月度サービス・アップデート
oracle4engineer
PRO
0
150
あつめたデータをどう扱うか
skrb
2
160
Pentesting Password Reset Functionality
anugrahsr
0
450
初めてのデータ移行プロジェクトから得た学び
tjmtmmnk
0
280
ChatGPT for Hacking
anugrahsr
0
4.4k
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
108
5.9k
A Modern Web Designer's Workflow
chriscoyier
689
180k
Design by the Numbers
sachag
271
18k
Keith and Marios Guide to Fast Websites
keithpitt
407
21k
The Invisible Customer
myddelton
113
12k
What's in a price? How to price your products and services
michaelherold
233
9.7k
How New CSS Is Changing Everything About Graphic Design on the Web
jensimmons
214
12k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
32
6.7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
152
13k
Navigating Team Friction
lara
177
12k
Mobile First: as difficult as doing things right
swwweet
213
7.8k
Pencils Down: Stop Designing & Start Developing
hursman
114
10k
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 5 developers, 1
manager Specialization Laravel development
https://spatie.be/en/vacancies
https://spatie.be/opensource
WE ❤ POSTCARDS
None
Spatie Samberstraat 69D 2060 Antwerp Belgium
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 Easily installed into any Laravel application 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 Vue components Upload directly to S3
Support for responsive images / srcset
Thank you! https://speakerdeck.com/freekmurze/medialibrary-laravel-brussels https://spatie.be/opensource https://murze.be https://murze.be/newsletter/
QUESTIONS?