laravel/framework — pull request #513 by ccovey (2013-03-06 07:09:08+00:00)
Title: Add last method to Collection

Would've been helpful to have in a recent project where I needed to do some comparisons on the first and last items in a collection and a couple in IRC said they would find it useful also, added tests as well.