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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
カツオ、ご期待ください
suneo3476
0
190
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
220
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
650
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.3k
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
970
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
180
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
220
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
480
A Tale of Four Properties
chriscoyier
163
24k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
How to Ace a Technical Interview
jacobian
280
24k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Crafting Experiences
bethany
1
380
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
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