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
Getting to grips with Laravel Collections
Search
Nathan Dunn
July 16, 2019
Programming
0
14
Getting to grips with Laravel Collections
Nathan Dunn
July 16, 2019
Tweet
Share
More Decks by Nathan Dunn
See All by Nathan Dunn
A Point of Vue
nathanjdunn
0
24
Other Decks in Programming
See All in Programming
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
540
初学者でも今すぐできる、Claude Codeの生産性を10倍上げるTips
s4yuba
16
11k
A2A プロトコルを試してみる
azukiazusa1
2
1.4k
RailsGirls IZUMO スポンサーLT
16bitidol
0
180
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
120
AI時代のソフトウェア開発を考える(2025/07版) / Agentic Software Engineering Findy 2025-07 Edition
twada
PRO
78
26k
Team operations that are not burdened by SRE
kazatohiei
1
310
ソフトウェア品質を数字で捉える技術。事業成長を支えるシステム品質の マネジメント
takuya542
1
12k
効率的な開発手段として VRTを活用する
ishkawa
0
130
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
3
460
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
4.9k
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
210
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
Balancing Empowerment & Direction
lara
1
420
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
GitHub's CSS Performance
jonrohan
1031
460k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
730
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
52k
Rails Girls Zürich Keynote
gr2m
94
14k
BBQ
matthewcrist
89
9.7k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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