{"action":"created","issue":{"url":"https://api.github.com/repos/yajra/laravel-datatables/issues/330","labels_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/330/comments","events_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/330/events","html_url":"https://github.com/yajra/laravel-datatables/issues/330","id":125080111,"number":330,"title":"public_path breaks Laravel","user":{"login":"brenjt","id":1713885,"avatar_url":"https://avatars.githubusercontent.com/u/1713885?v=3","gravatar_id":"","url":"https://api.github.com/users/brenjt","html_url":"https://github.com/brenjt","followers_url":"https://api.github.com/users/brenjt/followers","following_url":"https://api.github.com/users/brenjt/following{/other_user}","gists_url":"https://api.github.com/users/brenjt/gists{/gist_id}","starred_url":"https://api.github.com/users/brenjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brenjt/subscriptions","organizations_url":"https://api.github.com/users/brenjt/orgs","repos_url":"https://api.github.com/users/brenjt/repos","events_url":"https://api.github.com/users/brenjt/events{/privacy}","received_events_url":"https://api.github.com/users/brenjt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-05T23:58:06Z","updated_at":"2016-01-06T01:09:03Z","closed_at":null,"body":"The fallback file included in version 6.1.0 caused Laravel to break if it doesn't get autoloaded correctly. The public_path and config_path functions are getting autoloaded via composer before the laravel helpers therefore it overrides the Laravel helper.\r\n\r\n```\r\n'02b783339706e8337193e01559b1b116' => $vendorDir . '/yajra/laravel-datatables-oracle/src/fallback.php',\r\n'f0906e6318348a765ffb6eb24e0d0938' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/helpers.php',\r\n```\r\n\r\nThis is happening with Laravel version 5.1.28"},"comment":{"url":"https://api.github.com/repos/yajra/laravel-datatables/issues/comments/169186167","html_url":"https://github.com/yajra/laravel-datatables/issues/330#issuecomment-169186167","issue_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/330","id":169186167,"user":{"login":"yajra","id":2687997,"avatar_url":"https://avatars.githubusercontent.com/u/2687997?v=3","gravatar_id":"","url":"https://api.github.com/users/yajra","html_url":"https://github.com/yajra","followers_url":"https://api.github.com/users/yajra/followers","following_url":"https://api.github.com/users/yajra/following{/other_user}","gists_url":"https://api.github.com/users/yajra/gists{/gist_id}","starred_url":"https://api.github.com/users/yajra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yajra/subscriptions","organizations_url":"https://api.github.com/users/yajra/orgs","repos_url":"https://api.github.com/users/yajra/repos","events_url":"https://api.github.com/users/yajra/events{/privacy}","received_events_url":"https://api.github.com/users/yajra/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T01:09:03Z","updated_at":"2016-01-06T01:09:03Z","body":"I just tried updating to Laravel 5.1.28 and seems to work fine for me?\r\n\r\n```sh\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\n  - Removing laravel/framework (v5.1.27)\r\n  - Installing laravel/framework (v5.1.28)\r\n    Downloading: 100%\r\n\r\n  - Removing yajra/laravel-datatables-oracle (v6.1.0)\r\n  - Installing yajra/laravel-datatables-oracle (v6.1.1)\r\n    Loading from cache\r\n\r\n  - Removing caffeinated/menus (v2.2.3)\r\n  - Installing caffeinated/menus (v2.3)\r\n    Loading from cache\r\n\r\n  - Removing intervention/image (2.3.4)\r\n  - Installing intervention/image (2.3.5)\r\n    Downloading: 100%\r\n\r\n  - Removing phpspec/phpspec (2.4.0)\r\n  - Installing phpspec/phpspec (2.4.1)\r\n    Loading from cache\r\n\r\nWriting lock file\r\nGenerating autoload files\r\n> php artisan optimize\r\nGenerating optimized class loader\r\n```"}}