{"action":"created","issue":{"url":"https://api.github.com/repos/phingofficial/phing/issues/417","labels_url":"https://api.github.com/repos/phingofficial/phing/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/phingofficial/phing/issues/417/comments","events_url":"https://api.github.com/repos/phingofficial/phing/issues/417/events","html_url":"https://github.com/phingofficial/phing/pull/417","id":65624246,"number":417,"title":"Clear PullRequest #309 to allow phing to manage Composer Autoloader","user":{"login":"corretge","id":228097,"avatar_url":"https://avatars.githubusercontent.com/u/228097?v=3","gravatar_id":"","url":"https://api.github.com/users/corretge","html_url":"https://github.com/corretge","followers_url":"https://api.github.com/users/corretge/followers","following_url":"https://api.github.com/users/corretge/following{/other_user}","gists_url":"https://api.github.com/users/corretge/gists{/gist_id}","starred_url":"https://api.github.com/users/corretge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corretge/subscriptions","organizations_url":"https://api.github.com/users/corretge/orgs","repos_url":"https://api.github.com/users/corretge/repos","events_url":"https://api.github.com/users/corretge/events{/privacy}","received_events_url":"https://api.github.com/users/corretge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-01T07:37:22Z","updated_at":"2015-05-20T15:23:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phingofficial/phing/pulls/417","html_url":"https://github.com/phingofficial/phing/pull/417","diff_url":"https://github.com/phingofficial/phing/pull/417.diff","patch_url":"https://github.com/phingofficial/phing/pull/417.patch"},"body":"I write a new and clear PR for the Composer integration.\r\n\r\nTo test it, create a new one project with a **composer.json** like:\r\n\r\n```\r\n{\r\n        \"require\": {\r\n\t\t\"corretgecom/phing-base64\": \"dev-master\"\r\n\t}\r\n}\r\n```\r\n\r\nAnd a **build.xml** file like:\r\n\r\n```\r\n<?xml version=\"1.0\" ?>\r\n<project basedir=\".\" default=\"list\">\r\n\r\n\t<!-- Sets the DSTAMP, TSTAMP and TODAY properties -->\r\n\t<tstamp/>\r\n\r\n\t<target name=\"list\" description=\"List targets\">\r\n\t\t<exec command=\"phing -l\" level=\"verbose\" passthru=\"true\" />\r\n\t</target>\r\n\r\n\t<import file=\"vendor/bin/corretgecom.qgpl.base64.xml\" optional=\"false\" />\r\n\r\n</project>\r\n```\r\n\r\nThen, execute:\r\n\r\n```\r\ncomposer update\r\nphing \r\n```\r\n\r\nThe targets *imported* will be showed.\r\n\r\nThe tasks:\r\n- console.qgpl.base64.decode\r\n- console.qgpl.base64.encode\r\n\r\n\r\nare defined at\r\n```\r\nvendor/corretgecom/phing-base64/lib/\r\n└── Corretgecom\r\n    └── Phing\r\n        └── Qgpl\r\n            └── Base64\r\n                ├── DecodeTask.php\r\n                └── EncodeTask.php\r\n```"},"comment":{"url":"https://api.github.com/repos/phingofficial/phing/issues/comments/103924760","html_url":"https://github.com/phingofficial/phing/pull/417#issuecomment-103924760","issue_url":"https://api.github.com/repos/phingofficial/phing/issues/417","id":103924760,"user":{"login":"corretge","id":228097,"avatar_url":"https://avatars.githubusercontent.com/u/228097?v=3","gravatar_id":"","url":"https://api.github.com/users/corretge","html_url":"https://github.com/corretge","followers_url":"https://api.github.com/users/corretge/followers","following_url":"https://api.github.com/users/corretge/following{/other_user}","gists_url":"https://api.github.com/users/corretge/gists{/gist_id}","starred_url":"https://api.github.com/users/corretge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corretge/subscriptions","organizations_url":"https://api.github.com/users/corretge/orgs","repos_url":"https://api.github.com/users/corretge/repos","events_url":"https://api.github.com/users/corretge/events{/privacy}","received_events_url":"https://api.github.com/users/corretge/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T15:23:59Z","updated_at":"2015-05-20T15:23:59Z","body":"@mrook ping"}}