Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Getting to grips with Laravel Collections
Search
Nathan Dunn
July 16, 2019
Programming
18
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Getting to grips with Laravel Collections
Nathan Dunn
July 16, 2019
More Decks by Nathan Dunn
See All by Nathan Dunn
A Point of Vue
nathanjdunn
0
29
Other Decks in Programming
See All in Programming
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.7k
R8 の設定見直しでアプリサイズ削減
andpad
0
220
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
3.8k
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
Railsバージョンを4倍にした話
optim
0
440
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
2
390
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Claude Code のすすめ
schroneko
67
230k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
420
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Transcript
Getting to grips with Laravel Collections @nathanjdunn
None
❤
;
None
None
;
None
What are we looking for? • Consistency • Readability •
Chainability
None
None
Installing outside Laravel composer require tightenco/collect
Creating Collections
The basics
each
map
filter
filter
filter
reduce
chunk
None
Finding items
where
whereIn
whereBetween
whereInstanceOf
None
Debugging
dd
dump
Formatting
toArray
toJson
A deeper dive
None
tap
pipe
when
wrap
Higher order messages
Higher order messages
None
None
Short Arrow Functions
In conclusion... • 114 collection methods (and counting!) • Take
a dive into the docs • Have a go yourself!
None