{"action":"created","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-debugbar/issues/727","repository_url":"https://api.github.com/repos/barryvdh/laravel-debugbar","labels_url":"https://api.github.com/repos/barryvdh/laravel-debugbar/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-debugbar/issues/727/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-debugbar/issues/727/events","html_url":"https://github.com/barryvdh/laravel-debugbar/issues/727","id":258325047,"number":727,"title":"Need a 3.0 bugfix release for lumen, In Release 3.0.1 LumenServiceProvider's getRouter() function returns app not router","user":{"login":"KealJones","id":1343175,"avatar_url":"https://avatars3.githubusercontent.com/u/1343175?v=4","gravatar_id":"","url":"https://api.github.com/users/KealJones","html_url":"https://github.com/KealJones","followers_url":"https://api.github.com/users/KealJones/followers","following_url":"https://api.github.com/users/KealJones/following{/other_user}","gists_url":"https://api.github.com/users/KealJones/gists{/gist_id}","starred_url":"https://api.github.com/users/KealJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KealJones/subscriptions","organizations_url":"https://api.github.com/users/KealJones/orgs","repos_url":"https://api.github.com/users/KealJones/repos","events_url":"https://api.github.com/users/KealJones/events{/privacy}","received_events_url":"https://api.github.com/users/KealJones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-17T18:59:58Z","updated_at":"2017-09-18T13:36:18Z","closed_at":null,"author_association":"NONE","body":"This has actually already been fixed in the master branch (#718) but there hasn't been a Release to fix this issue for lumen users yet. Can you release a bugfix version for us?\r\n\r\nIf you're having this issue and looking for a temporary fix, i have a temporary way around this that *doesn't* involve changing the vendor files. This may be obvious but I wanted to share in case anyone doesn't know how to go about it.\r\n\r\nCreate a file `DebugbarServiceProvider.php` in `app/Providers` with this content:\r\n```\r\n<?php namespace App\\Providers;\r\n\r\nuse Laravel\\Lumen\\Application;\r\nuse Barryvdh\\Debugbar\\LumenServiceProvider;\r\n\r\nclass DebugbarServiceProvider extends LumenServiceProvider\r\n{\r\n    /** @var  Application */\r\n    protected $app;\r\n\r\n    /**\r\n     * This is a temporary fix for lumen 5.5 bug in Barryvdh\\Debugbar\r\n     *\r\n     * @return Application\r\n     */\r\n    protected function getRouter()\r\n    {\r\n        /**\r\n         * In Barryvdh\\Debugbar\\LumenServiceProvider it is defined as:\r\n         * return $this->app;\r\n         * \r\n         * Fixed in: https://github.com/barryvdh/laravel-debugbar/pull/718\r\n         */\r\n        return $this->app->router;\r\n    }\r\n}\r\n\r\n```\r\n\r\nThen in `bootstrap/app.php` for now comment out the official service provider and add yours:\r\n```\r\n//$app->register(Barryvdh\\Debugbar\\LumenServiceProvider::class);\r\n$app->register(App\\Providers\\DebugbarServiceProvider::class);\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/barryvdh/laravel-debugbar/issues/comments/330223040","html_url":"https://github.com/barryvdh/laravel-debugbar/issues/727#issuecomment-330223040","issue_url":"https://api.github.com/repos/barryvdh/laravel-debugbar/issues/727","id":330223040,"user":{"login":"barryvdh","id":973269,"avatar_url":"https://avatars2.githubusercontent.com/u/973269?v=4","gravatar_id":"","url":"https://api.github.com/users/barryvdh","html_url":"https://github.com/barryvdh","followers_url":"https://api.github.com/users/barryvdh/followers","following_url":"https://api.github.com/users/barryvdh/following{/other_user}","gists_url":"https://api.github.com/users/barryvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/barryvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryvdh/subscriptions","organizations_url":"https://api.github.com/users/barryvdh/orgs","repos_url":"https://api.github.com/users/barryvdh/repos","events_url":"https://api.github.com/users/barryvdh/events{/privacy}","received_events_url":"https://api.github.com/users/barryvdh/received_events","type":"User","site_admin":false},"created_at":"2017-09-18T13:36:18Z","updated_at":"2017-09-18T13:36:18Z","author_association":"OWNER","body":"Released 3.1.0 which includes it."}}
{"actor":{"display_login":"barryvdh"}}