{"action":"created","comment":{"url":"https://api.github.com/repos/notifymehq/notifyme/pulls/comments/25426619","id":25426619,"diff_hunk":"@@ -25,6 +25,45 @@ Supported Bridges:\n * [Laravel 4](https://github.com/notifymehq/laravel4)\n * [Laravel 5](https://github.com/notifymehq/laravel5)\n \n+## Usage\n+* Create a factory : ```$factory = new NotifyMeHQ\\NotifyMe\\NotifyMeFactory();```\n+* Make a notifier : ```$notifier = $factory->make([...]);```\n+* Notify : ```$response = $notifier->notify($message, []);```\n+* CHeck the response : ```$response->isSent();```\n+\n+### Example\n+Here is an exemple of a notification with Slack\n+\n+```PHP\n+<?php\n+\n+// include autoloader\n+include __DIR__ . '/vendor/autoload.php';\n+\n+// create a factory for notifications\n+$notifierFactory = new NotifyMeHQ\\NotifyMe\\NotifyMeFactory();\n+\n+// create the new notification for slack\n+$slackNotifier = $notifierFactory->make([\n+    // specify that we will use slack\n+    'driver'    => 'slack',","path":"README.md","position":25,"original_position":25,"commit_id":"690815e32bc2d9fba6f47bc08e1b8893e09f3082","original_commit_id":"690815e32bc2d9fba6f47bc08e1b8893e09f3082","user":{"login":"Grummfy","id":668804,"avatar_url":"https://avatars.githubusercontent.com/u/668804?v=3","gravatar_id":"","url":"https://api.github.com/users/Grummfy","html_url":"https://github.com/Grummfy","followers_url":"https://api.github.com/users/Grummfy/followers","following_url":"https://api.github.com/users/Grummfy/following{/other_user}","gists_url":"https://api.github.com/users/Grummfy/gists{/gist_id}","starred_url":"https://api.github.com/users/Grummfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grummfy/subscriptions","organizations_url":"https://api.github.com/users/Grummfy/orgs","repos_url":"https://api.github.com/users/Grummfy/repos","events_url":"https://api.github.com/users/Grummfy/events{/privacy}","received_events_url":"https://api.github.com/users/Grummfy/received_events","type":"User","site_admin":false},"body":"How many space do you want?","created_at":"2015-02-26T13:41:48Z","updated_at":"2015-02-26T13:41:48Z","html_url":"https://github.com/notifymehq/notifyme/pull/47#discussion_r25426619","pull_request_url":"https://api.github.com/repos/notifymehq/notifyme/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/notifymehq/notifyme/pulls/comments/25426619"},"html":{"href":"https://github.com/notifymehq/notifyme/pull/47#discussion_r25426619"},"pull_request":{"href":"https://api.github.com/repos/notifymehq/notifyme/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/notifymehq/notifyme/pulls/47","id":30028339,"html_url":"https://github.com/notifymehq/notifyme/pull/47","diff_url":"https://github.com/notifymehq/notifyme/pull/47.diff","patch_url":"https://github.com/notifymehq/notifyme/pull/47.patch","issue_url":"https://api.github.com/repos/notifymehq/notifyme/issues/47","number":47,"state":"open","locked":false,"title":"Adding a bit of doc","user":{"login":"Grummfy","id":668804,"avatar_url":"https://avatars.githubusercontent.com/u/668804?v=3","gravatar_id":"","url":"https://api.github.com/users/Grummfy","html_url":"https://github.com/Grummfy","followers_url":"https://api.github.com/users/Grummfy/followers","following_url":"https://api.github.com/users/Grummfy/following{/other_user}","gists_url":"https://api.github.com/users/Grummfy/gists{/gist_id}","starred_url":"https://api.github.com/users/Grummfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grummfy/subscriptions","organizations_url":"https://api.github.com/users/Grummfy/orgs","repos_url":"https://api.github.com/users/Grummfy/repos","events_url":"https://api.github.com/users/Grummfy/events{/privacy}","received_events_url":"https://api.github.com/users/Grummfy/received_events","type":"User","site_admin":false},"body":"Adding a minimal documentation","created_at":"2015-02-25T21:44:18Z","updated_at":"2015-02-26T13:41:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06e7d340d04b400dc159de4bba9764af221db74f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/notifymehq/notifyme/pulls/47/commits","review_comments_url":"https://api.github.com/repos/notifymehq/notifyme/pulls/47/comments","review_comment_url":"https://api.github.com/repos/notifymehq/notifyme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/notifymehq/notifyme/issues/47/comments","statuses_url":"https://api.github.com/repos/notifymehq/notifyme/statuses/690815e32bc2d9fba6f47bc08e1b8893e09f3082","head":{"label":"Grummfy:patch-1","ref":"patch-1","sha":"690815e32bc2d9fba6f47bc08e1b8893e09f3082","user":{"login":"Grummfy","id":668804,"avatar_url":"https://avatars.githubusercontent.com/u/668804?v=3","gravatar_id":"","url":"https://api.github.com/users/Grummfy","html_url":"https://github.com/Grummfy","followers_url":"https://api.github.com/users/Grummfy/followers","following_url":"https://api.github.com/users/Grummfy/following{/other_user}","gists_url":"https://api.github.com/users/Grummfy/gists{/gist_id}","starred_url":"https://api.github.com/users/Grummfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grummfy/subscriptions","organizations_url":"https://api.github.com/users/Grummfy/orgs","repos_url":"https://api.github.com/users/Grummfy/repos","events_url":"https://api.github.com/users/Grummfy/events{/privacy}","received_events_url":"https://api.github.com/users/Grummfy/received_events","type":"User","site_admin":false},"repo":{"id":31336873,"name":"notifyme","full_name":"Grummfy/notifyme","owner":{"login":"Grummfy","id":668804,"avatar_url":"https://avatars.githubusercontent.com/u/668804?v=3","gravatar_id":"","url":"https://api.github.com/users/Grummfy","html_url":"https://github.com/Grummfy","followers_url":"https://api.github.com/users/Grummfy/followers","following_url":"https://api.github.com/users/Grummfy/following{/other_user}","gists_url":"https://api.github.com/users/Grummfy/gists{/gist_id}","starred_url":"https://api.github.com/users/Grummfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grummfy/subscriptions","organizations_url":"https://api.github.com/users/Grummfy/orgs","repos_url":"https://api.github.com/users/Grummfy/repos","events_url":"https://api.github.com/users/Grummfy/events{/privacy}","received_events_url":"https://api.github.com/users/Grummfy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Grummfy/notifyme","description":"A common interface for notification services.","fork":true,"url":"https://api.github.com/repos/Grummfy/notifyme","forks_url":"https://api.github.com/repos/Grummfy/notifyme/forks","keys_url":"https://api.github.com/repos/Grummfy/notifyme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Grummfy/notifyme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Grummfy/notifyme/teams","hooks_url":"https://api.github.com/repos/Grummfy/notifyme/hooks","issue_events_url":"https://api.github.com/repos/Grummfy/notifyme/issues/events{/number}","events_url":"https://api.github.com/repos/Grummfy/notifyme/events","assignees_url":"https://api.github.com/repos/Grummfy/notifyme/assignees{/user}","branches_url":"https://api.github.com/repos/Grummfy/notifyme/branches{/branch}","tags_url":"https://api.github.com/repos/Grummfy/notifyme/tags","blobs_url":"https://api.github.com/repos/Grummfy/notifyme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Grummfy/notifyme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Grummfy/notifyme/git/refs{/sha}","trees_url":"https://api.github.com/repos/Grummfy/notifyme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Grummfy/notifyme/statuses/{sha}","languages_url":"https://api.github.com/repos/Grummfy/notifyme/languages","stargazers_url":"https://api.github.com/repos/Grummfy/notifyme/stargazers","contributors_url":"https://api.github.com/repos/Grummfy/notifyme/contributors","subscribers_url":"https://api.github.com/repos/Grummfy/notifyme/subscribers","subscription_url":"https://api.github.com/repos/Grummfy/notifyme/subscription","commits_url":"https://api.github.com/repos/Grummfy/notifyme/commits{/sha}","git_commits_url":"https://api.github.com/repos/Grummfy/notifyme/git/commits{/sha}","comments_url":"https://api.github.com/repos/Grummfy/notifyme/comments{/number}","issue_comment_url":"https://api.github.com/repos/Grummfy/notifyme/issues/comments{/number}","contents_url":"https://api.github.com/repos/Grummfy/notifyme/contents/{+path}","compare_url":"https://api.github.com/repos/Grummfy/notifyme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Grummfy/notifyme/merges","archive_url":"https://api.github.com/repos/Grummfy/notifyme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Grummfy/notifyme/downloads","issues_url":"https://api.github.com/repos/Grummfy/notifyme/issues{/number}","pulls_url":"https://api.github.com/repos/Grummfy/notifyme/pulls{/number}","milestones_url":"https://api.github.com/repos/Grummfy/notifyme/milestones{/number}","notifications_url":"https://api.github.com/repos/Grummfy/notifyme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Grummfy/notifyme/labels{/name}","releases_url":"https://api.github.com/repos/Grummfy/notifyme/releases{/id}","created_at":"2015-02-25T21:33:15Z","updated_at":"2015-02-25T21:33:15Z","pushed_at":"2015-02-26T09:20:34Z","git_url":"git://github.com/Grummfy/notifyme.git","ssh_url":"git@github.com:Grummfy/notifyme.git","clone_url":"https://github.com/Grummfy/notifyme.git","svn_url":"https://github.com/Grummfy/notifyme","homepage":"","size":184,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"notifymehq:master","ref":"master","sha":"0377eeeb4768719e269c7e2c495ad8936c7e23a2","user":{"login":"notifymehq","id":10504222,"avatar_url":"https://avatars.githubusercontent.com/u/10504222?v=3","gravatar_id":"","url":"https://api.github.com/users/notifymehq","html_url":"https://github.com/notifymehq","followers_url":"https://api.github.com/users/notifymehq/followers","following_url":"https://api.github.com/users/notifymehq/following{/other_user}","gists_url":"https://api.github.com/users/notifymehq/gists{/gist_id}","starred_url":"https://api.github.com/users/notifymehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notifymehq/subscriptions","organizations_url":"https://api.github.com/users/notifymehq/orgs","repos_url":"https://api.github.com/users/notifymehq/repos","events_url":"https://api.github.com/users/notifymehq/events{/privacy}","received_events_url":"https://api.github.com/users/notifymehq/received_events","type":"Organization","site_admin":false},"repo":{"id":29053236,"name":"notifyme","full_name":"notifymehq/notifyme","owner":{"login":"notifymehq","id":10504222,"avatar_url":"https://avatars.githubusercontent.com/u/10504222?v=3","gravatar_id":"","url":"https://api.github.com/users/notifymehq","html_url":"https://github.com/notifymehq","followers_url":"https://api.github.com/users/notifymehq/followers","following_url":"https://api.github.com/users/notifymehq/following{/other_user}","gists_url":"https://api.github.com/users/notifymehq/gists{/gist_id}","starred_url":"https://api.github.com/users/notifymehq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notifymehq/subscriptions","organizations_url":"https://api.github.com/users/notifymehq/orgs","repos_url":"https://api.github.com/users/notifymehq/repos","events_url":"https://api.github.com/users/notifymehq/events{/privacy}","received_events_url":"https://api.github.com/users/notifymehq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/notifymehq/notifyme","description":"A common interface for notification services.","fork":false,"url":"https://api.github.com/repos/notifymehq/notifyme","forks_url":"https://api.github.com/repos/notifymehq/notifyme/forks","keys_url":"https://api.github.com/repos/notifymehq/notifyme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/notifymehq/notifyme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/notifymehq/notifyme/teams","hooks_url":"https://api.github.com/repos/notifymehq/notifyme/hooks","issue_events_url":"https://api.github.com/repos/notifymehq/notifyme/issues/events{/number}","events_url":"https://api.github.com/repos/notifymehq/notifyme/events","assignees_url":"https://api.github.com/repos/notifymehq/notifyme/assignees{/user}","branches_url":"https://api.github.com/repos/notifymehq/notifyme/branches{/branch}","tags_url":"https://api.github.com/repos/notifymehq/notifyme/tags","blobs_url":"https://api.github.com/repos/notifymehq/notifyme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/notifymehq/notifyme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/notifymehq/notifyme/git/refs{/sha}","trees_url":"https://api.github.com/repos/notifymehq/notifyme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/notifymehq/notifyme/statuses/{sha}","languages_url":"https://api.github.com/repos/notifymehq/notifyme/languages","stargazers_url":"https://api.github.com/repos/notifymehq/notifyme/stargazers","contributors_url":"https://api.github.com/repos/notifymehq/notifyme/contributors","subscribers_url":"https://api.github.com/repos/notifymehq/notifyme/subscribers","subscription_url":"https://api.github.com/repos/notifymehq/notifyme/subscription","commits_url":"https://api.github.com/repos/notifymehq/notifyme/commits{/sha}","git_commits_url":"https://api.github.com/repos/notifymehq/notifyme/git/commits{/sha}","comments_url":"https://api.github.com/repos/notifymehq/notifyme/comments{/number}","issue_comment_url":"https://api.github.com/repos/notifymehq/notifyme/issues/comments{/number}","contents_url":"https://api.github.com/repos/notifymehq/notifyme/contents/{+path}","compare_url":"https://api.github.com/repos/notifymehq/notifyme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/notifymehq/notifyme/merges","archive_url":"https://api.github.com/repos/notifymehq/notifyme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/notifymehq/notifyme/downloads","issues_url":"https://api.github.com/repos/notifymehq/notifyme/issues{/number}","pulls_url":"https://api.github.com/repos/notifymehq/notifyme/pulls{/number}","milestones_url":"https://api.github.com/repos/notifymehq/notifyme/milestones{/number}","notifications_url":"https://api.github.com/repos/notifymehq/notifyme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/notifymehq/notifyme/labels{/name}","releases_url":"https://api.github.com/repos/notifymehq/notifyme/releases{/id}","created_at":"2015-01-10T09:49:08Z","updated_at":"2015-02-26T09:45:36Z","pushed_at":"2015-02-04T19:17:35Z","git_url":"git://github.com/notifymehq/notifyme.git","ssh_url":"git@github.com:notifymehq/notifyme.git","clone_url":"https://github.com/notifymehq/notifyme.git","svn_url":"https://github.com/notifymehq/notifyme","homepage":"","size":827,"stargazers_count":89,"watchers_count":89,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":13,"forks":3,"open_issues":13,"watchers":89,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/notifymehq/notifyme/pulls/47"},"html":{"href":"https://github.com/notifymehq/notifyme/pull/47"},"issue":{"href":"https://api.github.com/repos/notifymehq/notifyme/issues/47"},"comments":{"href":"https://api.github.com/repos/notifymehq/notifyme/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/notifymehq/notifyme/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/notifymehq/notifyme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/notifymehq/notifyme/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/notifymehq/notifyme/statuses/690815e32bc2d9fba6f47bc08e1b8893e09f3082"}}}}