{"action":"created","issue":{"url":"https://api.github.com/repos/maennchen/ZipStream-PHP/issues/42","repository_url":"https://api.github.com/repos/maennchen/ZipStream-PHP","labels_url":"https://api.github.com/repos/maennchen/ZipStream-PHP/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/maennchen/ZipStream-PHP/issues/42/comments","events_url":"https://api.github.com/repos/maennchen/ZipStream-PHP/issues/42/events","html_url":"https://github.com/maennchen/ZipStream-PHP/issues/42","id":176412661,"number":42,"title":"Support for dub directories within the zip stream?","user":{"login":"mkalkbrenner","id":557921,"avatar_url":"https://avatars.githubusercontent.com/u/557921?v=3","gravatar_id":"","url":"https://api.github.com/users/mkalkbrenner","html_url":"https://github.com/mkalkbrenner","followers_url":"https://api.github.com/users/mkalkbrenner/followers","following_url":"https://api.github.com/users/mkalkbrenner/following{/other_user}","gists_url":"https://api.github.com/users/mkalkbrenner/gists{/gist_id}","starred_url":"https://api.github.com/users/mkalkbrenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkalkbrenner/subscriptions","organizations_url":"https://api.github.com/users/mkalkbrenner/orgs","repos_url":"https://api.github.com/users/mkalkbrenner/repos","events_url":"https://api.github.com/users/mkalkbrenner/events{/privacy}","received_events_url":"https://api.github.com/users/mkalkbrenner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/maennchen/ZipStream-PHP/labels/invalid","name":"invalid","color":"e6e6e6"},{"url":"https://api.github.com/repos/maennchen/ZipStream-PHP/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"maennchen","id":333918,"avatar_url":"https://avatars.githubusercontent.com/u/333918?v=3","gravatar_id":"","url":"https://api.github.com/users/maennchen","html_url":"https://github.com/maennchen","followers_url":"https://api.github.com/users/maennchen/followers","following_url":"https://api.github.com/users/maennchen/following{/other_user}","gists_url":"https://api.github.com/users/maennchen/gists{/gist_id}","starred_url":"https://api.github.com/users/maennchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maennchen/subscriptions","organizations_url":"https://api.github.com/users/maennchen/orgs","repos_url":"https://api.github.com/users/maennchen/repos","events_url":"https://api.github.com/users/maennchen/events{/privacy}","received_events_url":"https://api.github.com/users/maennchen/received_events","type":"User","site_admin":false},"assignees":[{"login":"maennchen","id":333918,"avatar_url":"https://avatars.githubusercontent.com/u/333918?v=3","gravatar_id":"","url":"https://api.github.com/users/maennchen","html_url":"https://github.com/maennchen","followers_url":"https://api.github.com/users/maennchen/followers","following_url":"https://api.github.com/users/maennchen/following{/other_user}","gists_url":"https://api.github.com/users/maennchen/gists{/gist_id}","starred_url":"https://api.github.com/users/maennchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maennchen/subscriptions","organizations_url":"https://api.github.com/users/maennchen/orgs","repos_url":"https://api.github.com/users/maennchen/repos","events_url":"https://api.github.com/users/maennchen/events{/privacy}","received_events_url":"https://api.github.com/users/maennchen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-12T15:53:14Z","updated_at":"2016-09-13T10:08:19Z","closed_at":null,"body":"Are there any plans to support that?"},"comment":{"url":"https://api.github.com/repos/maennchen/ZipStream-PHP/issues/comments/246635857","html_url":"https://github.com/maennchen/ZipStream-PHP/issues/42#issuecomment-246635857","issue_url":"https://api.github.com/repos/maennchen/ZipStream-PHP/issues/42","id":246635857,"user":{"login":"maennchen","id":333918,"avatar_url":"https://avatars.githubusercontent.com/u/333918?v=3","gravatar_id":"","url":"https://api.github.com/users/maennchen","html_url":"https://github.com/maennchen","followers_url":"https://api.github.com/users/maennchen/followers","following_url":"https://api.github.com/users/maennchen/following{/other_user}","gists_url":"https://api.github.com/users/maennchen/gists{/gist_id}","starred_url":"https://api.github.com/users/maennchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maennchen/subscriptions","organizations_url":"https://api.github.com/users/maennchen/orgs","repos_url":"https://api.github.com/users/maennchen/repos","events_url":"https://api.github.com/users/maennchen/events{/privacy}","received_events_url":"https://api.github.com/users/maennchen/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T10:08:19Z","updated_at":"2016-09-13T10:08:19Z","body":"Hi @mkalkbrenner\r\n\r\nSub Directories are supported.\r\n\r\nCode:\r\n```php\r\n<?php\r\ndeclare(strict_types = 1);\r\nrequire 'vendor/autoload.php';\r\n\r\n$zip = new \\ZipStream\\ZipStream('example.zip');\r\n$zip->addFile('example/test1/hello.txt', 'Test Content');\r\n$zip->addFile('example/test2/hello.txt', 'Test Content');\r\n$zip->finish();\r\n```\r\n\r\nResult:\r\n![screen shot 2016-09-13 at 10 06 57](https://cloud.githubusercontent.com/assets/333918/18469988/f40ef67e-7999-11e6-8563-d3b4c4521eaf.png)\r\n"}}
{"actor":{"display_login":"maennchen"}}