{"action":"created","issue":{"url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/222","labels_url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/222/comments","events_url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/222/events","html_url":"https://github.com/simplesamlphp/simplesamlphp/issues/222","id":91805534,"number":222,"title":"What is the recommended way to handle config files and composer usage of simplesamlphp?","user":{"login":"dialogik","id":1260548,"avatar_url":"https://avatars.githubusercontent.com/u/1260548?v=3","gravatar_id":"","url":"https://api.github.com/users/dialogik","html_url":"https://github.com/dialogik","followers_url":"https://api.github.com/users/dialogik/followers","following_url":"https://api.github.com/users/dialogik/following{/other_user}","gists_url":"https://api.github.com/users/dialogik/gists{/gist_id}","starred_url":"https://api.github.com/users/dialogik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dialogik/subscriptions","organizations_url":"https://api.github.com/users/dialogik/orgs","repos_url":"https://api.github.com/users/dialogik/repos","events_url":"https://api.github.com/users/dialogik/events{/privacy}","received_events_url":"https://api.github.com/users/dialogik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-29T13:38:09Z","updated_at":"2015-07-06T13:04:45Z","closed_at":null,"body":"I have included simplesamlphp via composer. Now I've modified\r\n\r\n* `vendor/simplesamlphp/config/config.php`,\r\n* `vendor/simplesamlphp/config/authsources.php` and\r\n* `vendor/simplesamlphp/metadata/saml20-idp-remote.php`\r\n\r\nto my needs. My problem is that I want to avoid editing any file in `vendor/` folder as I've learned this to be a good practice (so that e.g. updates don't interfere with my modifications).\r\n\r\nAnother use case of not changing files in the `vendor/` folder is that I might want to publish my own code as a repository without having to include the `vendor/` folder into my repository.\r\n\r\nWhat is your recommendation to both, handle necessary modifications in order to get this repository running for own purposes and keeping the vendor files unchanged? Couldn't this repository be improved by renaming files above (and others in the repository) as `*-sample.php` and advice users to place productivity config files in a folder next to `vendor/`?"},"comment":{"url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/comments/118848823","html_url":"https://github.com/simplesamlphp/simplesamlphp/issues/222#issuecomment-118848823","issue_url":"https://api.github.com/repos/simplesamlphp/simplesamlphp/issues/222","id":118848823,"user":{"login":"thijskh","id":3808792,"avatar_url":"https://avatars.githubusercontent.com/u/3808792?v=3","gravatar_id":"","url":"https://api.github.com/users/thijskh","html_url":"https://github.com/thijskh","followers_url":"https://api.github.com/users/thijskh/followers","following_url":"https://api.github.com/users/thijskh/following{/other_user}","gists_url":"https://api.github.com/users/thijskh/gists{/gist_id}","starred_url":"https://api.github.com/users/thijskh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thijskh/subscriptions","organizations_url":"https://api.github.com/users/thijskh/orgs","repos_url":"https://api.github.com/users/thijskh/repos","events_url":"https://api.github.com/users/thijskh/events{/privacy}","received_events_url":"https://api.github.com/users/thijskh/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T13:04:45Z","updated_at":"2015-07-06T13:04:45Z","body":"The environment variable can be passed via CLI but of course also via other ways.\r\n\r\nNote that you do need to apply the change in that PR first, just to be clear.\r\n\r\nI don't think you can set those other dirs via a method, however, you can specify their locations in the config.php you refer to."}}