{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/7136","labels_url":"https://api.github.com/repos/laravel/framework/issues/7136/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/7136/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/7136/events","html_url":"https://github.com/laravel/framework/issues/7136","id":55519627,"number":7136,"title":"[Proposal] Assets linking","user":{"login":"kokokurak","id":8510621,"avatar_url":"https://avatars.githubusercontent.com/u/8510621?v=3","gravatar_id":"","url":"https://api.github.com/users/kokokurak","html_url":"https://github.com/kokokurak","followers_url":"https://api.github.com/users/kokokurak/followers","following_url":"https://api.github.com/users/kokokurak/following{/other_user}","gists_url":"https://api.github.com/users/kokokurak/gists{/gist_id}","starred_url":"https://api.github.com/users/kokokurak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokokurak/subscriptions","organizations_url":"https://api.github.com/users/kokokurak/orgs","repos_url":"https://api.github.com/users/kokokurak/repos","events_url":"https://api.github.com/users/kokokurak/events{/privacy}","received_events_url":"https://api.github.com/users/kokokurak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-26T18:36:53Z","updated_at":"2015-01-26T21:37:45Z","closed_at":null,"body":"Hello,\r\n\r\nI just thought how would it be if publishing (duplicating) assets from packages wasn't necessary? If Laravel had built-in routes to assets from packages instead of copying them to `/public` folder with `asset:publish` command? Same for views and configs. Are there any reasons why it's required to do it manually this way?"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/71543504","html_url":"https://github.com/laravel/framework/issues/7136#issuecomment-71543504","issue_url":"https://api.github.com/repos/laravel/framework/issues/7136","id":71543504,"user":{"login":"kokokurak","id":8510621,"avatar_url":"https://avatars.githubusercontent.com/u/8510621?v=3","gravatar_id":"","url":"https://api.github.com/users/kokokurak","html_url":"https://github.com/kokokurak","followers_url":"https://api.github.com/users/kokokurak/followers","following_url":"https://api.github.com/users/kokokurak/following{/other_user}","gists_url":"https://api.github.com/users/kokokurak/gists{/gist_id}","starred_url":"https://api.github.com/users/kokokurak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokokurak/subscriptions","organizations_url":"https://api.github.com/users/kokokurak/orgs","repos_url":"https://api.github.com/users/kokokurak/repos","events_url":"https://api.github.com/users/kokokurak/events{/privacy}","received_events_url":"https://api.github.com/users/kokokurak/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T21:37:45Z","updated_at":"2015-01-26T21:37:45Z","body":"I'm not sure if assets routing is that inefficient nowadays. Is it really that much of an overhead?\r\n\r\nMy idea was to simplify packages installation process. I believe that the assets could stay where they are and be linked to by specific URL containing package name, maybe even with dedicated method, like:\r\n```\r\npackage_asset('images/cow.png', 'johnthefarmer/myfarm')\r\n```\r\n\r\nWe are now deep in XXI century now and calculating every microsecond of performance is not such of the case now. This one small operation per asset won't kill anyone and it will make projects more robust, with no manual \"publishing\"."}}