Laravel is pretty sweet, I recently scoped it out (been in Flask land and itching to try some Elixir/Phoenix) and it's got everything, exploring the queues now. I really like the helpers for accessing array elements through dot notation. Example:
$data = [
'more' => [
'complex' => ['my value']
]
];
if (array_key_exists('more', $data) && array_key_exists('complex', $data['more']) && array_key_exists(0, $data['more']['complex'])) {
echo $data['more']['complex'][0];
}
You can do this:
echo Arr::get($data, 'more.complex.0');
Plus the bog standard php null coalescing operator "??" is pretty sweet.
// fetch the value of $_GET['user'] and returns 'not passed'
// if username is not passed
$username = $_GET['username'] ?? 'not passed';
Just some little things off the top of my head. *Formatting.