{"action":"created","comment":{"url":"https://api.github.com/repos/leancloud/docs/pulls/comments/43226881","id":43226881,"diff_hunk":"@@ -0,0 +1,105 @@\n+安装\n+----\n+\n+运行环境要求 PHP 5.3 及以上版本，以及\n+[cURL](http://php.net/manual/zh/book.curl.php)。\n+\n+#### composer 安装\n+\n+如果你的项目使用 composer, 那么安装 LeanCloud PHP SDK 将非常容易：\n+\n+    composer require leancloud/leancloud-sdk\n+\n+#### 手动下载安装\n+\n+* 前往发布页面下载最新版本: https://github.com/leancloud/php-sdk/releases\n+\n+```bash\n+$ cd $APP_ROOT\n+$ wget https://github.com/leancloud/php-sdk/archive/vX.X.X.zip\n+```\n+\n+* 将压缩文件解压并置于项目文件夹下，如 $APP_ROOT/vendor/leancloud\n+\n+```bash\n+$ unzip vX.X.X.zip\n+$ mv php-sdk-X.X.X $APP_ROOT/vendor/leancloud\n+```\n+\n+初始化\n+----\n+\n+完成上述安装后，请加载库(在项目的一开始就需要加载，且只需加载一次)：","path":"md/start/php_start.md","position":32,"original_position":32,"commit_id":"9191d69f92aa4f736a9b5126eef54d17782b6da9","original_commit_id":"9191d69f92aa4f736a9b5126eef54d17782b6da9","user":{"login":"myleslee","id":108758,"avatar_url":"https://avatars.githubusercontent.com/u/108758?v=3","gravatar_id":"","url":"https://api.github.com/users/myleslee","html_url":"https://github.com/myleslee","followers_url":"https://api.github.com/users/myleslee/followers","following_url":"https://api.github.com/users/myleslee/following{/other_user}","gists_url":"https://api.github.com/users/myleslee/gists{/gist_id}","starred_url":"https://api.github.com/users/myleslee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleslee/subscriptions","organizations_url":"https://api.github.com/users/myleslee/orgs","repos_url":"https://api.github.com/users/myleslee/repos","events_url":"https://api.github.com/users/myleslee/events{/privacy}","received_events_url":"https://api.github.com/users/myleslee/received_events","type":"User","site_admin":false},"body":"用全角（）","created_at":"2015-10-28T08:19:26Z","updated_at":"2015-10-28T08:19:26Z","html_url":"https://github.com/leancloud/docs/pull/637#discussion_r43226881","pull_request_url":"https://api.github.com/repos/leancloud/docs/pulls/637","_links":{"self":{"href":"https://api.github.com/repos/leancloud/docs/pulls/comments/43226881"},"html":{"href":"https://github.com/leancloud/docs/pull/637#discussion_r43226881"},"pull_request":{"href":"https://api.github.com/repos/leancloud/docs/pulls/637"}}},"pull_request":{"url":"https://api.github.com/repos/leancloud/docs/pulls/637","id":48971009,"html_url":"https://github.com/leancloud/docs/pull/637","diff_url":"https://github.com/leancloud/docs/pull/637.diff","patch_url":"https://github.com/leancloud/docs/pull/637.patch","issue_url":"https://api.github.com/repos/leancloud/docs/issues/637","number":637,"state":"open","locked":false,"title":"Add PHP quick start guide","user":{"login":"juvenn","id":6934,"avatar_url":"https://avatars.githubusercontent.com/u/6934?v=3","gravatar_id":"","url":"https://api.github.com/users/juvenn","html_url":"https://github.com/juvenn","followers_url":"https://api.github.com/users/juvenn/followers","following_url":"https://api.github.com/users/juvenn/following{/other_user}","gists_url":"https://api.github.com/users/juvenn/gists{/gist_id}","starred_url":"https://api.github.com/users/juvenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juvenn/subscriptions","organizations_url":"https://api.github.com/users/juvenn/orgs","repos_url":"https://api.github.com/users/juvenn/repos","events_url":"https://api.github.com/users/juvenn/events{/privacy}","received_events_url":"https://api.github.com/users/juvenn/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-10-28T07:03:45Z","updated_at":"2015-10-28T08:19:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b36d289e58bc7f1980da6b51cf07d5e6f2aee3a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leancloud/docs/pulls/637/commits","review_comments_url":"https://api.github.com/repos/leancloud/docs/pulls/637/comments","review_comment_url":"https://api.github.com/repos/leancloud/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leancloud/docs/issues/637/comments","statuses_url":"https://api.github.com/repos/leancloud/docs/statuses/9191d69f92aa4f736a9b5126eef54d17782b6da9","head":{"label":"juvenn:php-doc","ref":"php-doc","sha":"9191d69f92aa4f736a9b5126eef54d17782b6da9","user":{"login":"juvenn","id":6934,"avatar_url":"https://avatars.githubusercontent.com/u/6934?v=3","gravatar_id":"","url":"https://api.github.com/users/juvenn","html_url":"https://github.com/juvenn","followers_url":"https://api.github.com/users/juvenn/followers","following_url":"https://api.github.com/users/juvenn/following{/other_user}","gists_url":"https://api.github.com/users/juvenn/gists{/gist_id}","starred_url":"https://api.github.com/users/juvenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juvenn/subscriptions","organizations_url":"https://api.github.com/users/juvenn/orgs","repos_url":"https://api.github.com/users/juvenn/repos","events_url":"https://api.github.com/users/juvenn/events{/privacy}","received_events_url":"https://api.github.com/users/juvenn/received_events","type":"User","site_admin":false},"repo":{"id":45084320,"name":"docs","full_name":"juvenn/docs","owner":{"login":"juvenn","id":6934,"avatar_url":"https://avatars.githubusercontent.com/u/6934?v=3","gravatar_id":"","url":"https://api.github.com/users/juvenn","html_url":"https://github.com/juvenn","followers_url":"https://api.github.com/users/juvenn/followers","following_url":"https://api.github.com/users/juvenn/following{/other_user}","gists_url":"https://api.github.com/users/juvenn/gists{/gist_id}","starred_url":"https://api.github.com/users/juvenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juvenn/subscriptions","organizations_url":"https://api.github.com/users/juvenn/orgs","repos_url":"https://api.github.com/users/juvenn/repos","events_url":"https://api.github.com/users/juvenn/events{/privacy}","received_events_url":"https://api.github.com/users/juvenn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juvenn/docs","description":"LeanCloud Documentation","fork":true,"url":"https://api.github.com/repos/juvenn/docs","forks_url":"https://api.github.com/repos/juvenn/docs/forks","keys_url":"https://api.github.com/repos/juvenn/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juvenn/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juvenn/docs/teams","hooks_url":"https://api.github.com/repos/juvenn/docs/hooks","issue_events_url":"https://api.github.com/repos/juvenn/docs/issues/events{/number}","events_url":"https://api.github.com/repos/juvenn/docs/events","assignees_url":"https://api.github.com/repos/juvenn/docs/assignees{/user}","branches_url":"https://api.github.com/repos/juvenn/docs/branches{/branch}","tags_url":"https://api.github.com/repos/juvenn/docs/tags","blobs_url":"https://api.github.com/repos/juvenn/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juvenn/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juvenn/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/juvenn/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juvenn/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/juvenn/docs/languages","stargazers_url":"https://api.github.com/repos/juvenn/docs/stargazers","contributors_url":"https://api.github.com/repos/juvenn/docs/contributors","subscribers_url":"https://api.github.com/repos/juvenn/docs/subscribers","subscription_url":"https://api.github.com/repos/juvenn/docs/subscription","commits_url":"https://api.github.com/repos/juvenn/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/juvenn/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/juvenn/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/juvenn/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/juvenn/docs/contents/{+path}","compare_url":"https://api.github.com/repos/juvenn/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juvenn/docs/merges","archive_url":"https://api.github.com/repos/juvenn/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juvenn/docs/downloads","issues_url":"https://api.github.com/repos/juvenn/docs/issues{/number}","pulls_url":"https://api.github.com/repos/juvenn/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/juvenn/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/juvenn/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juvenn/docs/labels{/name}","releases_url":"https://api.github.com/repos/juvenn/docs/releases{/id}","created_at":"2015-10-28T02:41:51Z","updated_at":"2015-10-28T02:42:04Z","pushed_at":"2015-10-28T07:03:35Z","git_url":"git://github.com/juvenn/docs.git","ssh_url":"git@github.com:juvenn/docs.git","clone_url":"https://github.com/juvenn/docs.git","svn_url":"https://github.com/juvenn/docs","homepage":"http://leancloud.cn/docs/","size":31913,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"leancloud:master","ref":"master","sha":"57420799b249163e491f43cf9601460d3747d139","user":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"repo":{"id":25067518,"name":"docs","full_name":"leancloud/docs","owner":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/leancloud/docs","description":"LeanCloud Documentation","fork":false,"url":"https://api.github.com/repos/leancloud/docs","forks_url":"https://api.github.com/repos/leancloud/docs/forks","keys_url":"https://api.github.com/repos/leancloud/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leancloud/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leancloud/docs/teams","hooks_url":"https://api.github.com/repos/leancloud/docs/hooks","issue_events_url":"https://api.github.com/repos/leancloud/docs/issues/events{/number}","events_url":"https://api.github.com/repos/leancloud/docs/events","assignees_url":"https://api.github.com/repos/leancloud/docs/assignees{/user}","branches_url":"https://api.github.com/repos/leancloud/docs/branches{/branch}","tags_url":"https://api.github.com/repos/leancloud/docs/tags","blobs_url":"https://api.github.com/repos/leancloud/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leancloud/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leancloud/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/leancloud/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leancloud/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/leancloud/docs/languages","stargazers_url":"https://api.github.com/repos/leancloud/docs/stargazers","contributors_url":"https://api.github.com/repos/leancloud/docs/contributors","subscribers_url":"https://api.github.com/repos/leancloud/docs/subscribers","subscription_url":"https://api.github.com/repos/leancloud/docs/subscription","commits_url":"https://api.github.com/repos/leancloud/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/leancloud/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/leancloud/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/leancloud/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/leancloud/docs/contents/{+path}","compare_url":"https://api.github.com/repos/leancloud/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leancloud/docs/merges","archive_url":"https://api.github.com/repos/leancloud/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leancloud/docs/downloads","issues_url":"https://api.github.com/repos/leancloud/docs/issues{/number}","pulls_url":"https://api.github.com/repos/leancloud/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/leancloud/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/leancloud/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leancloud/docs/labels{/name}","releases_url":"https://api.github.com/repos/leancloud/docs/releases{/id}","created_at":"2014-10-11T07:14:37Z","updated_at":"2015-10-22T03:00:41Z","pushed_at":"2015-10-28T07:58:23Z","git_url":"git://github.com/leancloud/docs.git","ssh_url":"git@github.com:leancloud/docs.git","clone_url":"https://github.com/leancloud/docs.git","svn_url":"https://github.com/leancloud/docs","homepage":"http://leancloud.cn/docs/","size":31913,"stargazers_count":150,"watchers_count":150,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":117,"mirror_url":null,"open_issues_count":71,"forks":117,"open_issues":71,"watchers":150,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leancloud/docs/pulls/637"},"html":{"href":"https://github.com/leancloud/docs/pull/637"},"issue":{"href":"https://api.github.com/repos/leancloud/docs/issues/637"},"comments":{"href":"https://api.github.com/repos/leancloud/docs/issues/637/comments"},"review_comments":{"href":"https://api.github.com/repos/leancloud/docs/pulls/637/comments"},"review_comment":{"href":"https://api.github.com/repos/leancloud/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leancloud/docs/pulls/637/commits"},"statuses":{"href":"https://api.github.com/repos/leancloud/docs/statuses/9191d69f92aa4f736a9b5126eef54d17782b6da9"}}}}