Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
medialibrary (phpgent)
Freek Van der Herten
May 03, 2018
Programming
0
130
medialibrary (phpgent)
Freek Van der Herten
May 03, 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
520
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
AWS App Runnerがそろそろ本番環境でも使い物になりそう
n1215
PRO
0
820
Remote SSHで行うVS Codeリモートホスト開発とトラブルシューティング
smt7174
1
380
Enumを自動で網羅的にテストしてみた
estie
0
1.2k
新卒でサービス立ち上げから Hasuraを使って3年経った振り返り
yutorin
0
190
ポケモンで学ぶiOS 16弾丸ツアー 🚅
giginet
PRO
1
600
はてなリモートインターンシップ2022 フロントエンドブートキャンプ 講義資料
hatena
0
110
Domain-Driven Design (Tutorial)
hschwentner
11
15k
10年以上続くプロダクトの フロントエンド刷新プロジェクトのふりかえり
yotahada3
2
280
Amazon QuickSightのアップデート -re:Invent 2022の復習&2022年ハイライト-
shogo452
0
200
GitHub Flowでの高速なデリバリーをささえるテスト基盤について
kyong0612
0
130
コンピュータビジョンセミナー2 / computer_vision_seminar_libSGM
fixstars
0
310
Cloudflare Workersと状態管理
chimame
2
430
Featured
See All Featured
Ruby is Unlike a Banana
tanoku
93
9.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
351
21k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
50k
For a Future-Friendly Web
brad_frost
166
7.7k
The Language of Interfaces
destraynor
149
21k
Optimizing for Happiness
mojombo
365
64k
Bash Introduction
62gerente
601
210k
Build your cross-platform service in a week with App Engine
jlugia
221
17k
How GitHub (no longer) Works
holman
298
140k
What’s in a name? Adding method to the madness
productmarketing
12
1.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
63k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
6
830
Transcript
Handling media in a Laravel app
About me Freek Van der Herten Partner & developer at
SPATIE Blogging at https://murze.be
https://fullstackantwerp.be https://fullstackbelgium.be
About me https://ohdearapp.com
15 years of dedication Websites, applications and webshops Team 6
and growing Specialization Tailor made development Open source
OPEN SOURCE
A household name More than 175 packages released Laravel ecosystem,
JavaScript, PHP 12 million downloads in total, growing ±1 million a month 4th position worldwide in PHP on Github
Learning & improving: +750 external contributors Writing documentation and tests
Eating our own dog food Building expertise, attracting new clients Clear benefits
Documented & discussed
WE’RE HIRING https://spatie.be/en/vacancies
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/v7 https://docs.spatie.be/image/v1/introduction https://www.youtube.com/watch?v=4lq_6JLR2H8 https://github.com/spatie/laravel-medialibrary Resources
Coming soon Vue components Uploads Administering a media
collection Release Q3 2018
Teamwork Sebastian De Deyne @sebdedeyne Willem Van Bockstal @willemvbockstal
Alex Vanderbist @alexvanderbist Brent Roose @brendt_gd
Thank you! https://speakerdeck.com/freekmurze/medialibrary-phpgent https://spatie.be/opensource https://ohdearapp.com https://murze.be