{"action":"created","issue":{"url":"https://api.github.com/repos/rtconner/laravel-likeable/issues/14","repository_url":"https://api.github.com/repos/rtconner/laravel-likeable","labels_url":"https://api.github.com/repos/rtconner/laravel-likeable/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/rtconner/laravel-likeable/issues/14/comments","events_url":"https://api.github.com/repos/rtconner/laravel-likeable/issues/14/events","html_url":"https://github.com/rtconner/laravel-likeable/issues/14","id":128996640,"number":14,"title":"Request: Update Documentation.","user":{"login":"The1NdNly","id":7751064,"avatar_url":"https://avatars.githubusercontent.com/u/7751064?v=3","gravatar_id":"","url":"https://api.github.com/users/The1NdNly","html_url":"https://github.com/The1NdNly","followers_url":"https://api.github.com/users/The1NdNly/followers","following_url":"https://api.github.com/users/The1NdNly/following{/other_user}","gists_url":"https://api.github.com/users/The1NdNly/gists{/gist_id}","starred_url":"https://api.github.com/users/The1NdNly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The1NdNly/subscriptions","organizations_url":"https://api.github.com/users/The1NdNly/orgs","repos_url":"https://api.github.com/users/The1NdNly/repos","events_url":"https://api.github.com/users/The1NdNly/events{/privacy}","received_events_url":"https://api.github.com/users/The1NdNly/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-27T01:22:21Z","updated_at":"2016-02-15T22:13:19Z","closed_at":"2016-02-07T18:00:15Z","body":"Hello, Being fairly new to Laravel I still have to reference documentation most of the time to integrate packages to my app. While going about installing this I noticed the documentation if outdated.\r\n\r\n```\r\ncomposer require rtconner/laravel-likeable \"~1.0\"\r\n```\r\nShould be V1.1 for 5.2?\r\n\r\n```\r\n'providers' => array(\r\n    Conner\\Likeable\\LikeableServiceProvider::class,\r\n);\r\n```\r\n\r\nand\r\n\r\n```\r\nclass Article extends \\Illuminate\\Database\\Eloquent\\Model {\r\n    use Conner\\Likeable\\LikeableTrait;\r\n}\r\n```\r\n\r\nare outdated, i assume its the paths since i believe the package has had its file structure updated to ``` rtconner\\laravel-likeable\\src\\LikeableTrait ``` ?\r\n\r\nAlso while running ``` php artisan vendor:publish --provider=\"Conner\\Likeable\\LikeableServiceProvider\" ``` i get a ``` Nothing to publish for tag []. ``` error. Again i assume its to do with the path?\r\n\r\nAfter moving and migrating the migrations manually and running them i either get a ``` LikeableTrait' not found ``` error while trying to include it to my model. If i playaround with the file path to try and point it to the new one (both in app.php and the model) im getting a ``` unexpected \"-\" ``` error due to the file path having a \"-\" in \"laravel-likeable\"\r\n\r\nAny help would be appreciated, im sure its just something basic im failing to do. hopefully with the docs updated it should avoid other novices having the same issue.\r\n\r\nKind regards, Matt"},"comment":{"url":"https://api.github.com/repos/rtconner/laravel-likeable/issues/comments/184417165","html_url":"https://github.com/rtconner/laravel-likeable/issues/14#issuecomment-184417165","issue_url":"https://api.github.com/repos/rtconner/laravel-likeable/issues/14","id":184417165,"user":{"login":"The1NdNly","id":7751064,"avatar_url":"https://avatars.githubusercontent.com/u/7751064?v=3","gravatar_id":"","url":"https://api.github.com/users/The1NdNly","html_url":"https://github.com/The1NdNly","followers_url":"https://api.github.com/users/The1NdNly/followers","following_url":"https://api.github.com/users/The1NdNly/following{/other_user}","gists_url":"https://api.github.com/users/The1NdNly/gists{/gist_id}","starred_url":"https://api.github.com/users/The1NdNly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The1NdNly/subscriptions","organizations_url":"https://api.github.com/users/The1NdNly/orgs","repos_url":"https://api.github.com/users/The1NdNly/repos","events_url":"https://api.github.com/users/The1NdNly/events{/privacy}","received_events_url":"https://api.github.com/users/The1NdNly/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T22:13:19Z","updated_at":"2016-02-15T22:13:19Z","body":"Just an update, on a fresh install of laravel the doc's are still incorrect. you need to include like this.\r\n````\r\nuse Conner\\Likeable\\LikeableTrait;\r\nclass Quotation extends Model  {\r\n\r\nuse LikeableTrait;\r\n````"}}