{"action":"created","issue":{"url":"https://api.github.com/repos/Bee-Lab/bowerphp/issues/127","labels_url":"https://api.github.com/repos/Bee-Lab/bowerphp/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/Bee-Lab/bowerphp/issues/127/comments","events_url":"https://api.github.com/repos/Bee-Lab/bowerphp/issues/127/events","html_url":"https://github.com/Bee-Lab/bowerphp/issues/127","id":112318629,"number":127,"title":"BOWERPHP_TOKEN as Composer variable","user":{"login":"Rvanlaak","id":2707563,"avatar_url":"https://avatars.githubusercontent.com/u/2707563?v=3","gravatar_id":"","url":"https://api.github.com/users/Rvanlaak","html_url":"https://github.com/Rvanlaak","followers_url":"https://api.github.com/users/Rvanlaak/followers","following_url":"https://api.github.com/users/Rvanlaak/following{/other_user}","gists_url":"https://api.github.com/users/Rvanlaak/gists{/gist_id}","starred_url":"https://api.github.com/users/Rvanlaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rvanlaak/subscriptions","organizations_url":"https://api.github.com/users/Rvanlaak/orgs","repos_url":"https://api.github.com/users/Rvanlaak/repos","events_url":"https://api.github.com/users/Rvanlaak/events{/privacy}","received_events_url":"https://api.github.com/users/Rvanlaak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-20T08:59:09Z","updated_at":"2015-10-20T11:15:06Z","closed_at":null,"body":"Would the [`Composer environment variables`](https://getcomposer.org/doc/03-cli.md#environment-variables) allow us to define `BOWERPHP_TOKEN`? \r\n\r\nThat would mean we can do the following:\r\n\r\n```\r\n\"scripts\": {\r\n    // ...\r\n    \"post-install-cmd\": [\r\n        \"bin/bowerphp install\",\r\n        // ...\r\n    ],\r\n    \"post-update-cmd\": [\r\n       \"bin/bowerphp install\",\r\n        // ...\r\n   ]\r\n},\r\n\"config\": {\r\n    \"bin-dir\": \"bin\",\r\n    \"BOWERPHP_TOKEN\": \"<token>\"\r\n},\r\n```\r\nOr is this the wrong interpretation of the composer environment variables?\r\n\r\nNext to that, `composer install` also outputs an empty error message when `bowerphp install` is executed via `post-install-cmd`."},"comment":{"url":"https://api.github.com/repos/Bee-Lab/bowerphp/issues/comments/149530639","html_url":"https://github.com/Bee-Lab/bowerphp/issues/127#issuecomment-149530639","issue_url":"https://api.github.com/repos/Bee-Lab/bowerphp/issues/127","id":149530639,"user":{"login":"Rvanlaak","id":2707563,"avatar_url":"https://avatars.githubusercontent.com/u/2707563?v=3","gravatar_id":"","url":"https://api.github.com/users/Rvanlaak","html_url":"https://github.com/Rvanlaak","followers_url":"https://api.github.com/users/Rvanlaak/followers","following_url":"https://api.github.com/users/Rvanlaak/following{/other_user}","gists_url":"https://api.github.com/users/Rvanlaak/gists{/gist_id}","starred_url":"https://api.github.com/users/Rvanlaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rvanlaak/subscriptions","organizations_url":"https://api.github.com/users/Rvanlaak/orgs","repos_url":"https://api.github.com/users/Rvanlaak/repos","events_url":"https://api.github.com/users/Rvanlaak/events{/privacy}","received_events_url":"https://api.github.com/users/Rvanlaak/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T11:15:06Z","updated_at":"2015-10-20T11:15:06Z","body":"Will do :+1:"}}