How to use dump() on Laravel Collection

11 Jul 2019 . Laravel . 275 views


Today, I am going to show you short tips on how to use dump() on Laravel collections instead of dd(). Sometimes, writing dd() is time-consuming since it a function. In that case, if you are working on Laravel Collections, using dump will be time-saving for you in the development stage.