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 (laravel paris)
Search
Freek Van der Herten
November 30, 2017
Technology
0
160
Medialibrary (laravel paris)
Freek Van der Herten
November 30, 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
340
An Introduction to Snapshot testing
freekmurze
0
390
Event Sourcing In Laravel
freekmurze
0
200
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
690
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
730
A practical look at multitenancy in Laravel
freekmurze
1
290
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
640
Highlights Flare codebase (Laracon online)
freekmurze
0
370
Introducing Mailcoach
freekmurze
1
550
Other Decks in Technology
See All in Technology
推薦システムを本番導入する上で一番優先すべきだったこと~NewsPicks記事推薦機能の改善事例を元に~
morinota
0
130
LLMアプリケーションの評価の実践と課題 ~PharmaXにおける今後の展望~
pharma_x_tech
2
170
What if...? 처음부터 다시 LLM 어플리케이션을 개발한다면
huffon
0
1k
公共領域から学ぶ クラウド移行についてエンジニアが意識していること
kawakawa2222
0
140
[NIKKEI Tech Talk]Bias for Action!! 実践から学ぶための仕組とコミュニティ / Community for Practice and Learning
kanamasa
0
280
AOAI Dev Day LLMシステム開発 Tips集
hirosatogamo
15
3.8k
GoとアクターモデルでES+CQRSを実践! / proto_actor_es_cqrs
ytake
1
160
コンテナ・K8s研修 - 前半 コンテナ基礎・ハンズオン【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
170
「我々はどこに向かっているのか」を問い続けるための仕組みづくり / Establishing a System for Continuous Inquiry about where we are
daitasu
0
170
開発生産性をむしろ向上させる セキュリティパートナーの作り方 / Dev Productivity Con 2024
flatt_security
0
380
開発と事業を繋ぐ!SREのオブザーバビリティ戦略 ~ Developers Summit 2024 Summer ~
leveragestech
0
630
Luupの開発組織におけるインシデントマネジメントの変遷 ver.RoadtoSRENEXT2024
grimoh
1
270
Featured
See All Featured
KATA
mclloyd
20
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.3k
Atom: Resistance is Futile
akmur
261
25k
Become a Pro
speakerdeck
PRO
15
4.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
35
6.3k
Visualization
eitanlees
139
14k
Build your cross-platform service in a week with App Engine
jlugia
227
17k
Into the Great Unknown - MozCon
thekraken
20
1.3k
Building Applications with DynamoDB
mza
89
5.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
52k
Happy Clients
brianwarren
94
6.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
245
1.2M
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 6 developers, 1
manager Specialization Laravel development
https://spatie.be/opensource
http://github-awards.com/users?type=world&language=php Open source software
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 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 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 Greater control over media collections Vue components
Upload directly to S3 Support for responsive images / srcset
Thank you! https://speakerdeck.com/freekmurze/medialibrary-laravel-paris https://spatie.be/opensource https://murze.be https://murze.be/newsletter/
QUESTIONS?