-
Notifications
You must be signed in to change notification settings - Fork 49
Description
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.
composer require rtconner/laravel-likeable "~1.0"
Should be V1.1 for 5.2?
'providers' => array(
Conner\Likeable\LikeableServiceProvider::class,
);
and
class Article extends \Illuminate\Database\Eloquent\Model {
use Conner\Likeable\LikeableTrait;
}
are outdated, i assume its the paths since i believe the package has had its file structure updated to rtconner\laravel-likeable\src\LikeableTrait ?
Also 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?
After 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"
Any 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.
Kind regards, Matt