{"action":"created","issue":{"url":"https://api.github.com/repos/friendica/friendica/issues/1278","labels_url":"https://api.github.com/repos/friendica/friendica/issues/1278/labels{/name}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/1278/comments","events_url":"https://api.github.com/repos/friendica/friendica/issues/1278/events","html_url":"https://github.com/friendica/friendica/pull/1278","id":53313624,"number":1278,"title":"add composer autoloader and empty folder for friendica classes","user":{"login":"fabrixxm","id":309361,"avatar_url":"https://avatars.githubusercontent.com/u/309361?v=3","gravatar_id":"","url":"https://api.github.com/users/fabrixxm","html_url":"https://github.com/fabrixxm","followers_url":"https://api.github.com/users/fabrixxm/followers","following_url":"https://api.github.com/users/fabrixxm/following{/other_user}","gists_url":"https://api.github.com/users/fabrixxm/gists{/gist_id}","starred_url":"https://api.github.com/users/fabrixxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabrixxm/subscriptions","organizations_url":"https://api.github.com/users/fabrixxm/orgs","repos_url":"https://api.github.com/users/fabrixxm/repos","events_url":"https://api.github.com/users/fabrixxm/events{/privacy}","received_events_url":"https://api.github.com/users/fabrixxm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-03T19:54:34Z","updated_at":"2015-02-01T09:19:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/friendica/friendica/pulls/1278","html_url":"https://github.com/friendica/friendica/pull/1278","diff_url":"https://github.com/friendica/friendica/pull/1278.diff","patch_url":"https://github.com/friendica/friendica/pull/1278.patch"},"body":"This pull request is mostly to start a discussion on start develop on Friendica 4\r\n\r\nIt adds Composer, configured to load future Friendica-related classes from `friendica/` as `\\Friendica` namespace (following [PSR-4](http://www.php-fig.org/psr/psr-4/) specs). `vendor/` folder is included in git, to ease deploy and release (as already discussed on friendica). As per [Composer FAQ about adding `vendor\\` to VCS](https://getcomposer.org/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md), `\"preferred-install\"` is set to `\"dist\"`, and any `.git` folder under `vendor/` will be ignored by git.\r\n\r\nThe autoloader is included at the start of `boot.php`.\r\n\r\nThe structure of classes under `\\Friendica` has to be discussed.\r\n\r\nA initial work could be move what's possible out of `library\\`, add them to composer.json as requirements and update the core accordantly."},"comment":{"url":"https://api.github.com/repos/friendica/friendica/issues/comments/72357575","html_url":"https://github.com/friendica/friendica/pull/1278#issuecomment-72357575","issue_url":"https://api.github.com/repos/friendica/friendica/issues/1278","id":72357575,"user":{"login":"fabrixxm","id":309361,"avatar_url":"https://avatars.githubusercontent.com/u/309361?v=3","gravatar_id":"","url":"https://api.github.com/users/fabrixxm","html_url":"https://github.com/fabrixxm","followers_url":"https://api.github.com/users/fabrixxm/followers","following_url":"https://api.github.com/users/fabrixxm/following{/other_user}","gists_url":"https://api.github.com/users/fabrixxm/gists{/gist_id}","starred_url":"https://api.github.com/users/fabrixxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabrixxm/subscriptions","organizations_url":"https://api.github.com/users/fabrixxm/orgs","repos_url":"https://api.github.com/users/fabrixxm/repos","events_url":"https://api.github.com/users/fabrixxm/events{/privacy}","received_events_url":"https://api.github.com/users/fabrixxm/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T09:19:06Z","updated_at":"2015-02-01T09:19:06Z","body":"Absolutely no :-) I've meet @Beanow yesterday and we talked about this. He has some comments to add to this dicussion "}}