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 Brussels)
Search
Freek Van der Herten
November 14, 2017
Technology
0
280
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
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
年間一億円削減した時系列データベースのアーキテクチャ改善~不確実性の高いプロジェクトへの挑戦~
lycorptech_jp
PRO
3
2.9k
Luupの開発組織におけるインシデントマネジメントの変遷 ver.RoadtoSRENEXT2024
grimoh
1
270
楽しくGoを学び合う、LayerXの勉強会文化 / LayerX's study culture of having fun and learning Go together
ar_tama
2
350
Flutter研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
160
技術負債による事業の失敗はなぜ起こるのか / Why do business failures due to technical debt occur?
i35_267
0
190
OSSコミットしてZennの課題を解決した話
dyoshikawa1993
0
150
【基調講演】変える、今ここから ― IoTとAIで紡ぐ未来
soracom
PRO
0
320
たくさん本を読んだけど 1年後には綺麗サッパリ!を乗り越えて 学習の鬼になるぞ👹
yum3
0
160
テストケースの自動生成に生成AIの導入を試みた話と生成AIによる今後の期待
shift_evolve
0
180
LLMアプリケーションの評価の実践と課題 ~PharmaXにおける今後の展望~
pharma_x_tech
2
160
ゆめみのアクセシビリティの現在地と今後
ryokatsuse
3
290
セキュリティ研修 Day1【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
160
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Fireside Chat
paigeccino
25
2.8k
How GitHub Uses GitHub to Build GitHub
holman
471
290k
Building an army of robots
kneath
301
42k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
277
13k
A Philosophy of Restraint
colly
200
16k
Thoughts on Productivity
jonyablonski
64
4.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
325
21k
For a Future-Friendly Web
brad_frost
173
9.2k
Agile that works and the tools we love
rasmusluckow
325
20k
Building Better People: How to give real-time feedback that sticks.
wjessup
357
18k
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?