{"action":"created","issue":{"url":"https://api.github.com/repos/yajra/laravel-datatables/issues/405","repository_url":"https://api.github.com/repos/yajra/laravel-datatables","labels_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/405/comments","events_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/405/events","html_url":"https://github.com/yajra/laravel-datatables/issues/405","id":135661531,"number":405,"title":"Laravel Datatables.net get Class datatables does not exist error","user":{"login":"tux-world","id":6617583,"avatar_url":"https://avatars.githubusercontent.com/u/6617583?v=3","gravatar_id":"","url":"https://api.github.com/users/tux-world","html_url":"https://github.com/tux-world","followers_url":"https://api.github.com/users/tux-world/followers","following_url":"https://api.github.com/users/tux-world/following{/other_user}","gists_url":"https://api.github.com/users/tux-world/gists{/gist_id}","starred_url":"https://api.github.com/users/tux-world/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tux-world/subscriptions","organizations_url":"https://api.github.com/users/tux-world/orgs","repos_url":"https://api.github.com/users/tux-world/repos","events_url":"https://api.github.com/users/tux-world/events{/privacy}","received_events_url":"https://api.github.com/users/tux-world/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-02-23T07:38:54Z","updated_at":"2016-02-28T12:34:42Z","closed_at":null,"body":"\r\nafter install this package on laravel i get this error:\r\n```\r\nReflectionException in Container.php line 738: \r\nClass datatables does not exist\r\n```\r\nInstall:\r\n```\r\ncomposer require yajra/laravel-datatables-oracle\r\n```\r\nconfiguration on app.php:\r\n```\r\n'providers' => [\r\n    ...\r\n    yajra\\Datatables\\DatatablesServiceProvider::class,\r\n],\r\n\r\n'aliases' => [\r\n    ...\r\n    'Datatables' => yajra\\Datatables\\Datatables::class,\r\n],\r\n```\r\nrun publish command:\r\n```\r\nphp artisan vendor:publish\r\n```\r\nroute:\r\n```\r\nRoute::get('profitsData', 'ReportProfitsController@data');\r\n```\r\ncontroller:\r\n```\r\nnamespace App\\Http\\Controllers;\r\nuse Yajra\\Datatables\\Datatables;\r\n\r\nclass ReportProfitsController extends Controller\r\n{\r\n    public function data()\r\n    {\r\n        return Datatables::of(User::select('*'))->make(true);\r\n    }\r\n}\r\n```\r\n\r\n‍‍‍```\r\ncomposer dump-autoload\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/yajra/laravel-datatables/issues/comments/189860197","html_url":"https://github.com/yajra/laravel-datatables/issues/405#issuecomment-189860197","issue_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/405","id":189860197,"user":{"login":"wahyusigit","id":14122014,"avatar_url":"https://avatars.githubusercontent.com/u/14122014?v=3","gravatar_id":"","url":"https://api.github.com/users/wahyusigit","html_url":"https://github.com/wahyusigit","followers_url":"https://api.github.com/users/wahyusigit/followers","following_url":"https://api.github.com/users/wahyusigit/following{/other_user}","gists_url":"https://api.github.com/users/wahyusigit/gists{/gist_id}","starred_url":"https://api.github.com/users/wahyusigit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wahyusigit/subscriptions","organizations_url":"https://api.github.com/users/wahyusigit/orgs","repos_url":"https://api.github.com/users/wahyusigit/repos","events_url":"https://api.github.com/users/wahyusigit/events{/privacy}","received_events_url":"https://api.github.com/users/wahyusigit/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T12:34:42Z","updated_at":"2016-02-28T12:34:42Z","body":"i have same problem.... and can't solve this problem :("}}