{"action":"created","comment":{"url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/comments/31412222","id":31412222,"diff_hunk":"@@ -9,6 +9,15 @@ This is a collection of known design patterns and some sample code how to implem\n \n I think the problem with patterns is that often people do know them but don't know when to apply which.\n \n+## Installation\n+To use examples from this repository you should to install dependencies with `Composer` first:","path":"README.md","position":5,"original_position":5,"commit_id":"646f34d1d03926498263b1aca18559332a32c073","original_commit_id":"646f34d1d03926498263b1aca18559332a32c073","user":{"login":"domnikl","id":603116,"avatar_url":"https://avatars.githubusercontent.com/u/603116?v=3","gravatar_id":"","url":"https://api.github.com/users/domnikl","html_url":"https://github.com/domnikl","followers_url":"https://api.github.com/users/domnikl/followers","following_url":"https://api.github.com/users/domnikl/following{/other_user}","gists_url":"https://api.github.com/users/domnikl/gists{/gist_id}","starred_url":"https://api.github.com/users/domnikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domnikl/subscriptions","organizations_url":"https://api.github.com/users/domnikl/orgs","repos_url":"https://api.github.com/users/domnikl/repos","events_url":"https://api.github.com/users/domnikl/events{/privacy}","received_events_url":"https://api.github.com/users/domnikl/received_events","type":"User","site_admin":false},"body":"There is a typo here: \"you should ~~to~~ install\"","created_at":"2015-06-01T09:50:07Z","updated_at":"2015-06-01T09:50:07Z","html_url":"https://github.com/domnikl/DesignPatternsPHP/pull/140#discussion_r31412222","pull_request_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/140","_links":{"self":{"href":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/comments/31412222"},"html":{"href":"https://github.com/domnikl/DesignPatternsPHP/pull/140#discussion_r31412222"},"pull_request":{"href":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/140"}}},"pull_request":{"url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/140","id":36590659,"html_url":"https://github.com/domnikl/DesignPatternsPHP/pull/140","diff_url":"https://github.com/domnikl/DesignPatternsPHP/pull/140.diff","patch_url":"https://github.com/domnikl/DesignPatternsPHP/pull/140.patch","issue_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/issues/140","number":140,"state":"open","locked":false,"title":"Remove composer.phar and add short installation instruction","user":{"login":"bocharsky-bw","id":3317635,"avatar_url":"https://avatars.githubusercontent.com/u/3317635?v=3","gravatar_id":"","url":"https://api.github.com/users/bocharsky-bw","html_url":"https://github.com/bocharsky-bw","followers_url":"https://api.github.com/users/bocharsky-bw/followers","following_url":"https://api.github.com/users/bocharsky-bw/following{/other_user}","gists_url":"https://api.github.com/users/bocharsky-bw/gists{/gist_id}","starred_url":"https://api.github.com/users/bocharsky-bw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bocharsky-bw/subscriptions","organizations_url":"https://api.github.com/users/bocharsky-bw/orgs","repos_url":"https://api.github.com/users/bocharsky-bw/repos","events_url":"https://api.github.com/users/bocharsky-bw/events{/privacy}","received_events_url":"https://api.github.com/users/bocharsky-bw/received_events","type":"User","site_admin":false},"body":"Close frozen PR https://github.com/domnikl/DesignPatternsPHP/pull/127 from @TomasVotruba ","created_at":"2015-05-31T22:24:51Z","updated_at":"2015-06-01T09:50:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c33072747122ef051fccc1e38e4eae236c2a8370","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/140/commits","review_comments_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/140/comments","review_comment_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/issues/140/comments","statuses_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/statuses/646f34d1d03926498263b1aca18559332a32c073","head":{"label":"bocharsky-bw:patch-2","ref":"patch-2","sha":"646f34d1d03926498263b1aca18559332a32c073","user":{"login":"bocharsky-bw","id":3317635,"avatar_url":"https://avatars.githubusercontent.com/u/3317635?v=3","gravatar_id":"","url":"https://api.github.com/users/bocharsky-bw","html_url":"https://github.com/bocharsky-bw","followers_url":"https://api.github.com/users/bocharsky-bw/followers","following_url":"https://api.github.com/users/bocharsky-bw/following{/other_user}","gists_url":"https://api.github.com/users/bocharsky-bw/gists{/gist_id}","starred_url":"https://api.github.com/users/bocharsky-bw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bocharsky-bw/subscriptions","organizations_url":"https://api.github.com/users/bocharsky-bw/orgs","repos_url":"https://api.github.com/users/bocharsky-bw/repos","events_url":"https://api.github.com/users/bocharsky-bw/events{/privacy}","received_events_url":"https://api.github.com/users/bocharsky-bw/received_events","type":"User","site_admin":false},"repo":{"id":36387269,"name":"DesignPatternsPHP","full_name":"bocharsky-bw/DesignPatternsPHP","owner":{"login":"bocharsky-bw","id":3317635,"avatar_url":"https://avatars.githubusercontent.com/u/3317635?v=3","gravatar_id":"","url":"https://api.github.com/users/bocharsky-bw","html_url":"https://github.com/bocharsky-bw","followers_url":"https://api.github.com/users/bocharsky-bw/followers","following_url":"https://api.github.com/users/bocharsky-bw/following{/other_user}","gists_url":"https://api.github.com/users/bocharsky-bw/gists{/gist_id}","starred_url":"https://api.github.com/users/bocharsky-bw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bocharsky-bw/subscriptions","organizations_url":"https://api.github.com/users/bocharsky-bw/orgs","repos_url":"https://api.github.com/users/bocharsky-bw/repos","events_url":"https://api.github.com/users/bocharsky-bw/events{/privacy}","received_events_url":"https://api.github.com/users/bocharsky-bw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bocharsky-bw/DesignPatternsPHP","description":"sample code for several design patterns in PHP","fork":true,"url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP","forks_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/forks","keys_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/teams","hooks_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/hooks","issue_events_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/issues/events{/number}","events_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/events","assignees_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/assignees{/user}","branches_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/branches{/branch}","tags_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/tags","blobs_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/languages","stargazers_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/stargazers","contributors_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/contributors","subscribers_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/subscribers","subscription_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/subscription","commits_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/contents/{+path}","compare_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/merges","archive_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/downloads","issues_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/issues{/number}","pulls_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/labels{/name}","releases_url":"https://api.github.com/repos/bocharsky-bw/DesignPatternsPHP/releases{/id}","created_at":"2015-05-27T18:30:02Z","updated_at":"2015-05-27T18:30:02Z","pushed_at":"2015-05-31T22:21:08Z","git_url":"git://github.com/bocharsky-bw/DesignPatternsPHP.git","ssh_url":"git@github.com:bocharsky-bw/DesignPatternsPHP.git","clone_url":"https://github.com/bocharsky-bw/DesignPatternsPHP.git","svn_url":"https://github.com/bocharsky-bw/DesignPatternsPHP","homepage":"","size":1748,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"domnikl:master","ref":"master","sha":"a7e6c4b5b243ccf634da3847b37547058352c644","user":{"login":"domnikl","id":603116,"avatar_url":"https://avatars.githubusercontent.com/u/603116?v=3","gravatar_id":"","url":"https://api.github.com/users/domnikl","html_url":"https://github.com/domnikl","followers_url":"https://api.github.com/users/domnikl/followers","following_url":"https://api.github.com/users/domnikl/following{/other_user}","gists_url":"https://api.github.com/users/domnikl/gists{/gist_id}","starred_url":"https://api.github.com/users/domnikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domnikl/subscriptions","organizations_url":"https://api.github.com/users/domnikl/orgs","repos_url":"https://api.github.com/users/domnikl/repos","events_url":"https://api.github.com/users/domnikl/events{/privacy}","received_events_url":"https://api.github.com/users/domnikl/received_events","type":"User","site_admin":false},"repo":{"id":2246815,"name":"DesignPatternsPHP","full_name":"domnikl/DesignPatternsPHP","owner":{"login":"domnikl","id":603116,"avatar_url":"https://avatars.githubusercontent.com/u/603116?v=3","gravatar_id":"","url":"https://api.github.com/users/domnikl","html_url":"https://github.com/domnikl","followers_url":"https://api.github.com/users/domnikl/followers","following_url":"https://api.github.com/users/domnikl/following{/other_user}","gists_url":"https://api.github.com/users/domnikl/gists{/gist_id}","starred_url":"https://api.github.com/users/domnikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domnikl/subscriptions","organizations_url":"https://api.github.com/users/domnikl/orgs","repos_url":"https://api.github.com/users/domnikl/repos","events_url":"https://api.github.com/users/domnikl/events{/privacy}","received_events_url":"https://api.github.com/users/domnikl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/domnikl/DesignPatternsPHP","description":"sample code for several design patterns in PHP","fork":false,"url":"https://api.github.com/repos/domnikl/DesignPatternsPHP","forks_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/forks","keys_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/teams","hooks_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/hooks","issue_events_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/issues/events{/number}","events_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/events","assignees_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/assignees{/user}","branches_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/branches{/branch}","tags_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/tags","blobs_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/statuses/{sha}","languages_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/languages","stargazers_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/stargazers","contributors_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/contributors","subscribers_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/subscribers","subscription_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/subscription","commits_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/contents/{+path}","compare_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/merges","archive_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/downloads","issues_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/issues{/number}","pulls_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls{/number}","milestones_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/milestones{/number}","notifications_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/labels{/name}","releases_url":"https://api.github.com/repos/domnikl/DesignPatternsPHP/releases{/id}","created_at":"2011-08-22T05:24:31Z","updated_at":"2015-06-01T09:37:33Z","pushed_at":"2015-06-01T09:47:23Z","git_url":"git://github.com/domnikl/DesignPatternsPHP.git","ssh_url":"git@github.com:domnikl/DesignPatternsPHP.git","clone_url":"https://github.com/domnikl/DesignPatternsPHP.git","svn_url":"https://github.com/domnikl/DesignPatternsPHP","homepage":"","size":4909,"stargazers_count":6610,"watchers_count":6610,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1335,"mirror_url":null,"open_issues_count":11,"forks":1335,"open_issues":11,"watchers":6610,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/140"},"html":{"href":"https://github.com/domnikl/DesignPatternsPHP/pull/140"},"issue":{"href":"https://api.github.com/repos/domnikl/DesignPatternsPHP/issues/140"},"comments":{"href":"https://api.github.com/repos/domnikl/DesignPatternsPHP/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/domnikl/DesignPatternsPHP/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/domnikl/DesignPatternsPHP/statuses/646f34d1d03926498263b1aca18559332a32c073"}}}}