{"action":"closed","issue":{"url":"https://api.github.com/repos/xinix-technology/bono/issues/43","labels_url":"https://api.github.com/repos/xinix-technology/bono/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/xinix-technology/bono/issues/43/comments","events_url":"https://api.github.com/repos/xinix-technology/bono/issues/43/events","html_url":"https://github.com/xinix-technology/bono/issues/43","id":67529963,"number":43,"title":"Strategy to merge configuration","user":{"login":"reekoheek","id":299394,"avatar_url":"https://avatars.githubusercontent.com/u/299394?v=3","gravatar_id":"","url":"https://api.github.com/users/reekoheek","html_url":"https://github.com/reekoheek","followers_url":"https://api.github.com/users/reekoheek/followers","following_url":"https://api.github.com/users/reekoheek/following{/other_user}","gists_url":"https://api.github.com/users/reekoheek/gists{/gist_id}","starred_url":"https://api.github.com/users/reekoheek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reekoheek/subscriptions","organizations_url":"https://api.github.com/users/reekoheek/orgs","repos_url":"https://api.github.com/users/reekoheek/repos","events_url":"https://api.github.com/users/reekoheek/events{/privacy}","received_events_url":"https://api.github.com/users/reekoheek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xinix-technology/bono/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"reekoheek","id":299394,"avatar_url":"https://avatars.githubusercontent.com/u/299394?v=3","gravatar_id":"","url":"https://api.github.com/users/reekoheek","html_url":"https://github.com/reekoheek","followers_url":"https://api.github.com/users/reekoheek/followers","following_url":"https://api.github.com/users/reekoheek/following{/other_user}","gists_url":"https://api.github.com/users/reekoheek/gists{/gist_id}","starred_url":"https://api.github.com/users/reekoheek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reekoheek/subscriptions","organizations_url":"https://api.github.com/users/reekoheek/orgs","repos_url":"https://api.github.com/users/reekoheek/repos","events_url":"https://api.github.com/users/reekoheek/events{/privacy}","received_events_url":"https://api.github.com/users/reekoheek/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-10T07:17:27Z","updated_at":"2015-09-10T02:15:08Z","closed_at":"2015-09-10T02:15:08Z","body":"Let say that the application will have 2 different mode of deployments, development and production. Each deployment will have different configuration on some fields. This issue is about how to manage that. The specification must follows:\r\n\r\n- [x] MUST always read config.php \r\n- [x] MUST merge config.php with config-$mode.php values, ex: config-production.php\r\n- [ ] MUST use deep merge mechanism\r\n- [ ] MUST respect 'field!unset' => null, to unset 'field' value"}}