Enable Custom Configuration Files in Lumen

Lumen does support custom configuration files, but they need to be enabled first.

You need to add calls to $app->configure('file.php') in your bootstrap/app.php. A cleaner method might be to make a config.php to contain the configure calls and then include that file from bootstrap/app.php.

If you want to use .env values directly, you can also uncomment Dotenv::load(__DIR__.'/../'); at the top of bootstrap/app.php. That will allow getenv('name') to work.

PHP: Return Type RFC Canceled

I liked this idea. It would enforce the types of returned values from functions and methods, just like the parameter checking they added a few versions ago.

A bug was found during the voting period that will require enough changes to how the RFC works that voting has been cancelled.

Apparently the problem lies in that the PHP compiler only uses a single pass and allegedly, the compiler does not know about classes (i.e. new types) before they have been defined, which means it’s tricky to type check. Since there was so much support with this RFC, I am sure the next one will work just fine too.