{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/devdil/www.gnooble.org/pulls/8","id":27651524,"html_url":"https://github.com/devdil/www.gnooble.org/pull/8","diff_url":"https://github.com/devdil/www.gnooble.org/pull/8.diff","patch_url":"https://github.com/devdil/www.gnooble.org/pull/8.patch","issue_url":"https://api.github.com/repos/devdil/www.gnooble.org/issues/8","number":8,"state":"open","locked":false,"title":"Add auto loading feature.","user":{"login":"invisal","id":4539653,"avatar_url":"https://avatars.githubusercontent.com/u/4539653?v=3","gravatar_id":"","url":"https://api.github.com/users/invisal","html_url":"https://github.com/invisal","followers_url":"https://api.github.com/users/invisal/followers","following_url":"https://api.github.com/users/invisal/following{/other_user}","gists_url":"https://api.github.com/users/invisal/gists{/gist_id}","starred_url":"https://api.github.com/users/invisal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invisal/subscriptions","organizations_url":"https://api.github.com/users/invisal/orgs","repos_url":"https://api.github.com/users/invisal/repos","events_url":"https://api.github.com/users/invisal/events{/privacy}","received_events_url":"https://api.github.com/users/invisal/received_events","type":"User","site_admin":false},"body":"I have added the auto loading feature. You do not need to include the files just to use their class now. Auto loading will try to discover which file to include in order for class to work. For example: in your `\\login\\index.php` files, you can remove\r\n\r\n    include '../includes/DatabaseConnect.php';\r\n    include '../includes/Authenticate.php'\r\n\r\nand it will still work. How does auto loading work?\r\n\r\nWhen you call a class that does not exist in your code, Let say you are calling a class `Authenticate`. You haven't included `Authenticate.php` yet. The auto loading will try to find `Authenticate.php` in folder `includes` or `classes`. If there is filename `Authenticate.php`, it will auto include for you.","created_at":"2015-01-20T03:22:00Z","updated_at":"2015-01-20T03:22:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/devdil/www.gnooble.org/pulls/8/commits","review_comments_url":"https://api.github.com/repos/devdil/www.gnooble.org/pulls/8/comments","review_comment_url":"https://api.github.com/repos/devdil/www.gnooble.org/pulls/comments/{number}","comments_url":"https://api.github.com/repos/devdil/www.gnooble.org/issues/8/comments","statuses_url":"https://api.github.com/repos/devdil/www.gnooble.org/statuses/5c09c8fe3117712da77739214631bff64c3b672a","head":{"label":"invisal:master","ref":"master","sha":"5c09c8fe3117712da77739214631bff64c3b672a","user":{"login":"invisal","id":4539653,"avatar_url":"https://avatars.githubusercontent.com/u/4539653?v=3","gravatar_id":"","url":"https://api.github.com/users/invisal","html_url":"https://github.com/invisal","followers_url":"https://api.github.com/users/invisal/followers","following_url":"https://api.github.com/users/invisal/following{/other_user}","gists_url":"https://api.github.com/users/invisal/gists{/gist_id}","starred_url":"https://api.github.com/users/invisal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invisal/subscriptions","organizations_url":"https://api.github.com/users/invisal/orgs","repos_url":"https://api.github.com/users/invisal/repos","events_url":"https://api.github.com/users/invisal/events{/privacy}","received_events_url":"https://api.github.com/users/invisal/received_events","type":"User","site_admin":false},"repo":{"id":29509021,"name":"www.gnooble.org","full_name":"invisal/www.gnooble.org","owner":{"login":"invisal","id":4539653,"avatar_url":"https://avatars.githubusercontent.com/u/4539653?v=3","gravatar_id":"","url":"https://api.github.com/users/invisal","html_url":"https://github.com/invisal","followers_url":"https://api.github.com/users/invisal/followers","following_url":"https://api.github.com/users/invisal/following{/other_user}","gists_url":"https://api.github.com/users/invisal/gists{/gist_id}","starred_url":"https://api.github.com/users/invisal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invisal/subscriptions","organizations_url":"https://api.github.com/users/invisal/orgs","repos_url":"https://api.github.com/users/invisal/repos","events_url":"https://api.github.com/users/invisal/events{/privacy}","received_events_url":"https://api.github.com/users/invisal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/invisal/www.gnooble.org","description":"An application to automate source codes online ","fork":true,"url":"https://api.github.com/repos/invisal/www.gnooble.org","forks_url":"https://api.github.com/repos/invisal/www.gnooble.org/forks","keys_url":"https://api.github.com/repos/invisal/www.gnooble.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/invisal/www.gnooble.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/invisal/www.gnooble.org/teams","hooks_url":"https://api.github.com/repos/invisal/www.gnooble.org/hooks","issue_events_url":"https://api.github.com/repos/invisal/www.gnooble.org/issues/events{/number}","events_url":"https://api.github.com/repos/invisal/www.gnooble.org/events","assignees_url":"https://api.github.com/repos/invisal/www.gnooble.org/assignees{/user}","branches_url":"https://api.github.com/repos/invisal/www.gnooble.org/branches{/branch}","tags_url":"https://api.github.com/repos/invisal/www.gnooble.org/tags","blobs_url":"https://api.github.com/repos/invisal/www.gnooble.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/invisal/www.gnooble.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/invisal/www.gnooble.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/invisal/www.gnooble.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/invisal/www.gnooble.org/statuses/{sha}","languages_url":"https://api.github.com/repos/invisal/www.gnooble.org/languages","stargazers_url":"https://api.github.com/repos/invisal/www.gnooble.org/stargazers","contributors_url":"https://api.github.com/repos/invisal/www.gnooble.org/contributors","subscribers_url":"https://api.github.com/repos/invisal/www.gnooble.org/subscribers","subscription_url":"https://api.github.com/repos/invisal/www.gnooble.org/subscription","commits_url":"https://api.github.com/repos/invisal/www.gnooble.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/invisal/www.gnooble.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/invisal/www.gnooble.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/invisal/www.gnooble.org/issues/comments/{number}","contents_url":"https://api.github.com/repos/invisal/www.gnooble.org/contents/{+path}","compare_url":"https://api.github.com/repos/invisal/www.gnooble.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/invisal/www.gnooble.org/merges","archive_url":"https://api.github.com/repos/invisal/www.gnooble.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/invisal/www.gnooble.org/downloads","issues_url":"https://api.github.com/repos/invisal/www.gnooble.org/issues{/number}","pulls_url":"https://api.github.com/repos/invisal/www.gnooble.org/pulls{/number}","milestones_url":"https://api.github.com/repos/invisal/www.gnooble.org/milestones{/number}","notifications_url":"https://api.github.com/repos/invisal/www.gnooble.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/invisal/www.gnooble.org/labels{/name}","releases_url":"https://api.github.com/repos/invisal/www.gnooble.org/releases{/id}","created_at":"2015-01-20T03:03:03Z","updated_at":"2015-01-20T03:14:54Z","pushed_at":"2015-01-20T03:14:54Z","git_url":"git://github.com/invisal/www.gnooble.org.git","ssh_url":"git@github.com:invisal/www.gnooble.org.git","clone_url":"https://github.com/invisal/www.gnooble.org.git","svn_url":"https://github.com/invisal/www.gnooble.org","homepage":null,"size":4878,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"devdil:master","ref":"master","sha":"a4f892eda0c62ce442319cc26d769f1b2fcbd663","user":{"login":"devdil","id":5098875,"avatar_url":"https://avatars.githubusercontent.com/u/5098875?v=3","gravatar_id":"","url":"https://api.github.com/users/devdil","html_url":"https://github.com/devdil","followers_url":"https://api.github.com/users/devdil/followers","following_url":"https://api.github.com/users/devdil/following{/other_user}","gists_url":"https://api.github.com/users/devdil/gists{/gist_id}","starred_url":"https://api.github.com/users/devdil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devdil/subscriptions","organizations_url":"https://api.github.com/users/devdil/orgs","repos_url":"https://api.github.com/users/devdil/repos","events_url":"https://api.github.com/users/devdil/events{/privacy}","received_events_url":"https://api.github.com/users/devdil/received_events","type":"User","site_admin":false},"repo":{"id":28719915,"name":"www.gnooble.org","full_name":"devdil/www.gnooble.org","owner":{"login":"devdil","id":5098875,"avatar_url":"https://avatars.githubusercontent.com/u/5098875?v=3","gravatar_id":"","url":"https://api.github.com/users/devdil","html_url":"https://github.com/devdil","followers_url":"https://api.github.com/users/devdil/followers","following_url":"https://api.github.com/users/devdil/following{/other_user}","gists_url":"https://api.github.com/users/devdil/gists{/gist_id}","starred_url":"https://api.github.com/users/devdil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devdil/subscriptions","organizations_url":"https://api.github.com/users/devdil/orgs","repos_url":"https://api.github.com/users/devdil/repos","events_url":"https://api.github.com/users/devdil/events{/privacy}","received_events_url":"https://api.github.com/users/devdil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devdil/www.gnooble.org","description":"An application to automate source codes online ","fork":false,"url":"https://api.github.com/repos/devdil/www.gnooble.org","forks_url":"https://api.github.com/repos/devdil/www.gnooble.org/forks","keys_url":"https://api.github.com/repos/devdil/www.gnooble.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devdil/www.gnooble.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devdil/www.gnooble.org/teams","hooks_url":"https://api.github.com/repos/devdil/www.gnooble.org/hooks","issue_events_url":"https://api.github.com/repos/devdil/www.gnooble.org/issues/events{/number}","events_url":"https://api.github.com/repos/devdil/www.gnooble.org/events","assignees_url":"https://api.github.com/repos/devdil/www.gnooble.org/assignees{/user}","branches_url":"https://api.github.com/repos/devdil/www.gnooble.org/branches{/branch}","tags_url":"https://api.github.com/repos/devdil/www.gnooble.org/tags","blobs_url":"https://api.github.com/repos/devdil/www.gnooble.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devdil/www.gnooble.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devdil/www.gnooble.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/devdil/www.gnooble.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devdil/www.gnooble.org/statuses/{sha}","languages_url":"https://api.github.com/repos/devdil/www.gnooble.org/languages","stargazers_url":"https://api.github.com/repos/devdil/www.gnooble.org/stargazers","contributors_url":"https://api.github.com/repos/devdil/www.gnooble.org/contributors","subscribers_url":"https://api.github.com/repos/devdil/www.gnooble.org/subscribers","subscription_url":"https://api.github.com/repos/devdil/www.gnooble.org/subscription","commits_url":"https://api.github.com/repos/devdil/www.gnooble.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/devdil/www.gnooble.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/devdil/www.gnooble.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/devdil/www.gnooble.org/issues/comments/{number}","contents_url":"https://api.github.com/repos/devdil/www.gnooble.org/contents/{+path}","compare_url":"https://api.github.com/repos/devdil/www.gnooble.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devdil/www.gnooble.org/merges","archive_url":"https://api.github.com/repos/devdil/www.gnooble.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devdil/www.gnooble.org/downloads","issues_url":"https://api.github.com/repos/devdil/www.gnooble.org/issues{/number}","pulls_url":"https://api.github.com/repos/devdil/www.gnooble.org/pulls{/number}","milestones_url":"https://api.github.com/repos/devdil/www.gnooble.org/milestones{/number}","notifications_url":"https://api.github.com/repos/devdil/www.gnooble.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devdil/www.gnooble.org/labels{/name}","releases_url":"https://api.github.com/repos/devdil/www.gnooble.org/releases{/id}","created_at":"2015-01-02T17:08:30Z","updated_at":"2015-01-19T04:59:10Z","pushed_at":"2015-01-19T04:59:09Z","git_url":"git://github.com/devdil/www.gnooble.org.git","ssh_url":"git@github.com:devdil/www.gnooble.org.git","clone_url":"https://github.com/devdil/www.gnooble.org.git","svn_url":"https://github.com/devdil/www.gnooble.org","homepage":null,"size":4878,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/devdil/www.gnooble.org/pulls/8"},"html":{"href":"https://github.com/devdil/www.gnooble.org/pull/8"},"issue":{"href":"https://api.github.com/repos/devdil/www.gnooble.org/issues/8"},"comments":{"href":"https://api.github.com/repos/devdil/www.gnooble.org/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/devdil/www.gnooble.org/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/devdil/www.gnooble.org/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/devdil/www.gnooble.org/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/devdil/www.gnooble.org/statuses/5c09c8fe3117712da77739214631bff64c3b672a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":0,"changed_files":2}}