Repository navigation
[5.8] Allow retrieving env variables with getenv - #27958
Conversation
|
I just saw #27828 (comment), which makes it sound like this change was intentional? I didn't think it was intentional as it wasn't documented in the upgrade guide. @driesvints could you expand on that comment, I don't really understand what you mean. Won't the |
|
I think the change was intentional but it also forces the whole PHP Packages ecosystem to adapt to Laravel which is crazy. |
|
@matt-allan please read #27949 (comment) and other remarks in the issue |
|
Got it, thanks @driesvints. Looks like Taylor just committed a fix for I just rebased this and fixed the conflict so it can be merged if we want to update |
|
@taylorotwell The current release breaks |
[5.8] Allow retrieving env variables with getenv
This PR makes it possible to retrieve
.envvalues withgetenv, which is necessary for some third party libraries to work as expected.This restores the 5.7 behavior. See https://github.com/vlucas/phpdotenv#upgrading-from-v2 for more info.
Resolves #27949 and #27913 .