{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/15748","labels_url":"https://api.github.com/repos/symfony/symfony/issues/15748/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/15748/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/15748/events","html_url":"https://github.com/symfony/symfony/issues/15748","id":105736480,"number":15748,"title":"Stripping down framework-bundle","user":{"login":"kleijnweb","id":8375560,"avatar_url":"https://avatars.githubusercontent.com/u/8375560?v=3","gravatar_id":"","url":"https://api.github.com/users/kleijnweb","html_url":"https://github.com/kleijnweb","followers_url":"https://api.github.com/users/kleijnweb/followers","following_url":"https://api.github.com/users/kleijnweb/following{/other_user}","gists_url":"https://api.github.com/users/kleijnweb/gists{/gist_id}","starred_url":"https://api.github.com/users/kleijnweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleijnweb/subscriptions","organizations_url":"https://api.github.com/users/kleijnweb/orgs","repos_url":"https://api.github.com/users/kleijnweb/repos","events_url":"https://api.github.com/users/kleijnweb/events{/privacy}","received_events_url":"https://api.github.com/users/kleijnweb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-10T05:48:03Z","updated_at":"2015-09-13T16:04:31Z","closed_at":null,"body":"There are quite a number of dependencies in symfony/framework-bundle that should be optional.\r\n\r\n1) symfony/asset\r\n\r\nDon't need it when building an app without GUI.\r\n\r\n2) symfony/security-core\r\n\r\nDon't need when I don't want to include any sort of access control\r\n\r\n3) symfony/security-csrf\r\n\r\nDon't need it unless I have forms. Which is an optional requirement in the form (pardon the pun) of symfony/form. Even if you keep security-core, this should go unless you have symfony-form.\r\n\r\n4) doctrine/annotations\r\n\r\nI may not want to use annotations.\r\n\r\n5) symfony/translation\r\n\r\nI might not care about translations\r\n\r\n6) symfony/stopwatch\r\n\r\nWhy is this not in require-dev?\r\n\r\n7) symfony/templating\r\n\r\nAgain, without a GUI I don't really need this.\r\n\r\nAnyone sharing this opinion or should I create my own symfony-minimal-framework-bundle if I want something less 'standard distribution'-like?\r\n\r\nPossible solution would be extracting the other deps into something like symfony/core-framework-bundle and have symfony/framework-bundle depend on that. Then packages depending on framework-bundle would not suddenly have to deal with missing deps.\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/139891189","html_url":"https://github.com/symfony/symfony/issues/15748#issuecomment-139891189","issue_url":"https://api.github.com/repos/symfony/symfony/issues/15748","id":139891189,"user":{"login":"kleijnweb","id":8375560,"avatar_url":"https://avatars.githubusercontent.com/u/8375560?v=3","gravatar_id":"","url":"https://api.github.com/users/kleijnweb","html_url":"https://github.com/kleijnweb","followers_url":"https://api.github.com/users/kleijnweb/followers","following_url":"https://api.github.com/users/kleijnweb/following{/other_user}","gists_url":"https://api.github.com/users/kleijnweb/gists{/gist_id}","starred_url":"https://api.github.com/users/kleijnweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleijnweb/subscriptions","organizations_url":"https://api.github.com/users/kleijnweb/orgs","repos_url":"https://api.github.com/users/kleijnweb/repos","events_url":"https://api.github.com/users/kleijnweb/events{/privacy}","received_events_url":"https://api.github.com/users/kleijnweb/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T16:04:31Z","updated_at":"2015-09-13T16:04:31Z","body":"I'll take a crack at stripping it down myself when I find the time. From the looks of it, there really wouldn't be much \"own code\" left once you strip all the \"niceties\".\r\n\r\nLeaving \"Open\" for anyone else's 2 cents."}}