laravel/framework — pull request #1720 by driesvints (2013-06-22 13:09:10+00:00)
Title: Add last_key helpers method

Use case: indicating that by default the last item on a select field needs to be selected. This would work for both numeric and string types of keys.

```php
echo Form::select('names', $names, last_key($names));
```