{"issue":{"created_at":"2011-12-15T20:29:58Z","user":{"login":"Spotnyk","id":193724,"url":"https://api.github.com/users/Spotnyk","avatar_url":"https://secure.gravatar.com/avatar/16f932e4fd549ff8bc8c24358f22ed3f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"16f932e4fd549ff8bc8c24358f22ed3f"},"title":"Zip dependency?","milestone":null,"labels":[],"state":"open","updated_at":"2011-12-15T22:21:09Z","id":2572059,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/composer/composer/issues/158","closed_at":null,"number":158,"body":"I'm using composer for the first time. Primarily because I am trying to actually get a usable version of dnode-php (https://github.com/bergie/dnode-php). It is throwing an exception on install due to the lack of the php Zip extension. Something we do not have compiled in, and do not plan to.\r\n\r\nMy question is this. Does composer use zip for all it's packages? This would seem quite strange considering most people running on *nix don't compile it in.\r\n\r\nAlso, is there anyway for me to get it to grab the tar.gz file and use it instead?\r\n\r\nAny help would be appreciated.\r\n\r\nThanks.\r\n\r\n\r\noutput:\r\n\r\n    Installing dependencies.\r\n    Downloading http://github.com/igorw/evenement/zipball/5bef714dc0f23b83bf2357e3405005c6fc8f36bd to /home/spot/dnode-php/vendor/evenement/evenement/190f18fdbbdfc10aaf8e5365a69608ac\r\n    Unpacking archive\r\n\r\n    [RuntimeException]\r\n    You need the zip extension enabled to use the ZipDownloader","url":"https://api.github.com/repos/composer/composer/issues/158","comments":3,"assignee":null},"comment":{"created_at":"2011-12-15T22:21:09Z","user":{"login":"Seldaek","id":183678,"url":"https://api.github.com/users/Seldaek","avatar_url":"https://secure.gravatar.com/avatar/48b79d17cd8a911327cbd88c122b1efb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"48b79d17cd8a911327cbd88c122b1efb"},"updated_at":"2011-12-15T22:21:09Z","id":3170111,"body":"I'll try to give it a shot tomorrow. For the record another cross-platform approach would be to require the zlib extension, which I think is more common (if not always enabled?) with its stream handler to handle the .gz part, and then write a [tar implementation](http://www.gnu.org/s/tar/manual/html_node/Standard.html) in php. This is way less fun though. There is Archive_Tar from PEAR, but it is very very old code that I wouldn't want to bundle without massively cleaning up.","url":"https://api.github.com/repos/composer/composer/issues/comments/3170111"},"action":"created"}