Polymorphic threaded comments for Laravel
Laravel Commentable adds polymorphic threaded comments to Laravel 5.1 and above. (based on dead slynova/laravel-commentable)
- As Laravel 5.1 require PHP 5.5.9+, we required the same version.
Require the package with Composer.
$ composer require thyagobrejao/laravel-commentable
Add the package to your application service providers in
'providers' => [ Illuminate\Foundation\Providers\ArtisanServiceProvider::class, Illuminate\Auth\AuthServiceProvider::class, ... ThyagoBrejao\Commentable\ServiceProvider::class, ],
Publish the package's migrations to your application and migrate.
$ php artisan vendor:publish --provider="ThyagoBrejao\Commentable\ServiceProvider" --tag="migrations" $ php artisan migrate
Nothing has been changed from the first release.
Support follows PSR-2 PHP coding standards, and semantic versioning.
Please report any issue you find in the issues page. Pull requests are welcome.