You can provide closures into the $default value in Laravel's config helper

You can provide closures into the $default value in Laravel's config helper

Huh, apparently you can provide closures into the $default value in Laravel's config helper. Neat! Pretty useful if you want to throw an exception if it's missing 👏

We're writing a book, you can get it for free here.