{"action":"created","issue":{"url":"https://api.github.com/repos/composer/satis/issues/321","repository_url":"https://api.github.com/repos/composer/satis","labels_url":"https://api.github.com/repos/composer/satis/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/composer/satis/issues/321/comments","events_url":"https://api.github.com/repos/composer/satis/issues/321/events","html_url":"https://github.com/composer/satis/issues/321","id":145569424,"number":321,"title":"[Question] Can I locally host packages with satis? (Not using an VCS)","user":{"login":"mooror","id":6110819,"avatar_url":"https://avatars.githubusercontent.com/u/6110819?v=3","gravatar_id":"","url":"https://api.github.com/users/mooror","html_url":"https://github.com/mooror","followers_url":"https://api.github.com/users/mooror/followers","following_url":"https://api.github.com/users/mooror/following{/other_user}","gists_url":"https://api.github.com/users/mooror/gists{/gist_id}","starred_url":"https://api.github.com/users/mooror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mooror/subscriptions","organizations_url":"https://api.github.com/users/mooror/orgs","repos_url":"https://api.github.com/users/mooror/repos","events_url":"https://api.github.com/users/mooror/events{/privacy}","received_events_url":"https://api.github.com/users/mooror/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-04T02:51:43Z","updated_at":"2016-04-04T05:06:14Z","closed_at":null,"body":"Hey there, First off I want to apologize if this is not the proper place to post questions, I did not know of anywhere else I could post a question for you. Now, on with the main event! My question is can I use satis with locally hosted packages (stored as zip files). The composer documentation seems to indicate that something like this is possible with a `composer` repository with something like this: \r\n```\r\n{\r\n    \"packages\": {\r\n        \"vendor/package-name\": {\r\n            \"dev-master\": {\r\n    \"name\": \"smarty/smarty\",\r\n    \"version\": \"3.1.7\",\r\n    \"dist\": {\r\n        \"url\": \"http://www.smarty.net/files/Smarty-3.1.7.zip\",\r\n        \"type\": \"zip\"\r\n    }\r\n} \r\n    }\r\n}\r\n```\r\n\r\nHowever a) im not sure if this is a composer only thing, and b) if satis can do this I have no idea how. All the examples I have seen for satis seem to use the VCS type so I thought I would ask you about it. \r\n\r\nP.s. The composer example code that I posted above is from [here](https://getcomposer.org/doc/05-repositories.md#composer)\r\nThanks in advance,\r\nMooror"},"comment":{"url":"https://api.github.com/repos/composer/satis/issues/comments/205137396","html_url":"https://github.com/composer/satis/issues/321#issuecomment-205137396","issue_url":"https://api.github.com/repos/composer/satis/issues/321","id":205137396,"user":{"login":"astorm","id":184372,"avatar_url":"https://avatars.githubusercontent.com/u/184372?v=3","gravatar_id":"","url":"https://api.github.com/users/astorm","html_url":"https://github.com/astorm","followers_url":"https://api.github.com/users/astorm/followers","following_url":"https://api.github.com/users/astorm/following{/other_user}","gists_url":"https://api.github.com/users/astorm/gists{/gist_id}","starred_url":"https://api.github.com/users/astorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorm/subscriptions","organizations_url":"https://api.github.com/users/astorm/orgs","repos_url":"https://api.github.com/users/astorm/repos","events_url":"https://api.github.com/users/astorm/events{/privacy}","received_events_url":"https://api.github.com/users/astorm/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T05:06:14Z","updated_at":"2016-04-04T05:06:14Z","body":"@mooror Try the following top level configuration node in your `satis.json` file.\r\n\r\n    \"archive\": {\r\n        \"directory\": \"dist\",\r\n        \"format\": \"tar\",\r\n        \"prefix-url\": \"http://your-satis-url.dev\",\r\n        \"skip-dev\": true\r\n    } "}}