{"action":"created","issue":{"url":"https://api.github.com/repos/roots/bedrock/issues/240","repository_url":"https://api.github.com/repos/roots/bedrock","labels_url":"https://api.github.com/repos/roots/bedrock/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/roots/bedrock/issues/240/comments","events_url":"https://api.github.com/repos/roots/bedrock/issues/240/events","html_url":"https://github.com/roots/bedrock/issues/240","id":134179977,"number":240,"title":"Switch from Dotenv/env file to an INI file","user":{"login":"swalkinshaw","id":295605,"avatar_url":"https://avatars.githubusercontent.com/u/295605?v=3","gravatar_id":"","url":"https://api.github.com/users/swalkinshaw","html_url":"https://github.com/swalkinshaw","followers_url":"https://api.github.com/users/swalkinshaw/followers","following_url":"https://api.github.com/users/swalkinshaw/following{/other_user}","gists_url":"https://api.github.com/users/swalkinshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/swalkinshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalkinshaw/subscriptions","organizations_url":"https://api.github.com/users/swalkinshaw/orgs","repos_url":"https://api.github.com/users/swalkinshaw/repos","events_url":"https://api.github.com/users/swalkinshaw/events{/privacy}","received_events_url":"https://api.github.com/users/swalkinshaw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/roots/bedrock/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-17T05:06:53Z","updated_at":"2016-02-19T15:43:52Z","closed_at":null,"body":"See https://github.com/roots/bedrock/pull/239 for more background.\r\n\r\n> The .env file has one main purpose: it keeps your \"secrets\" in a separate file out of version control. But this comes with downsides: 1) exposes things to phpinfo, and more importantly, 2) exposes the env vars to any child processes.\r\n\r\n> In our case, there's no actual reason to use real environment variables. We just need a simpler way of setting variables for use in config files.\r\n\r\n> We're pretty sure we're going to switch to an ini file in the future since PHP has parse_init built-in. Because of this, I'm going to close this PR.\r\n\r\nWe may wait until 5.5 is EOL since PHP 5.6.1 has a very useful [feature](http://php.net/manual/en/function.parse-ini-file.php) with simple type coercion built-in like we had with Dotenv. "},"comment":{"url":"https://api.github.com/repos/roots/bedrock/issues/comments/186266207","html_url":"https://github.com/roots/bedrock/issues/240#issuecomment-186266207","issue_url":"https://api.github.com/repos/roots/bedrock/issues/240","id":186266207,"user":{"login":"swalkinshaw","id":295605,"avatar_url":"https://avatars.githubusercontent.com/u/295605?v=3","gravatar_id":"","url":"https://api.github.com/users/swalkinshaw","html_url":"https://github.com/swalkinshaw","followers_url":"https://api.github.com/users/swalkinshaw/followers","following_url":"https://api.github.com/users/swalkinshaw/following{/other_user}","gists_url":"https://api.github.com/users/swalkinshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/swalkinshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalkinshaw/subscriptions","organizations_url":"https://api.github.com/users/swalkinshaw/orgs","repos_url":"https://api.github.com/users/swalkinshaw/repos","events_url":"https://api.github.com/users/swalkinshaw/events{/privacy}","received_events_url":"https://api.github.com/users/swalkinshaw/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T15:43:52Z","updated_at":"2016-02-19T15:43:52Z","body":"@donaldallen kind of. See here: https://github.com/bkeepers/dotenv#multiple-rails-environments"}}