PHPackages                             christianvizarra/laravel-commentable - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. christianvizarra/laravel-commentable

ActiveLibrary[Database &amp; ORM](/categories/database)

christianvizarra/laravel-commentable
====================================

Forked from DraperStudio - Commentable Polymorphic Eloquent Models for for Laravel 5

028PHP

Since Oct 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/christianvizarra/laravel-commentable)[ Packagist](https://packagist.org/packages/christianvizarra/laravel-commentable)[ RSS](/packages/christianvizarra-laravel-commentable/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Commentable
===================

[](#laravel-commentable)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b8f12542e0bc0bd00bc2f42664de42b46f105118e7cf5ea0e0202541dbd7691d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f44726170657253747564696f2f6c61726176656c2d636f6d6d656e7461626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/DraperStudio/laravel-commentable)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/f0f8b3fe8d906f511e02e0b4ffe4fc7a169926ca7aa17fff7de64f8e29b19d65/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f44726170657253747564696f2f4c61726176656c2d436f6d6d656e7461626c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/DraperStudio/Laravel-Commentable)[![Coverage Status](https://camo.githubusercontent.com/c3b2466a33c323916456d43aff5d2c32bb0b803f8f2846d3ec49354280dabead/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f44726170657253747564696f2f6c61726176656c2d636f6d6d656e7461626c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/DraperStudio/laravel-commentable/code-structure)[![Quality Score](https://camo.githubusercontent.com/3593162a4ce97c71b1035de4f7e413f59afe255d33c59504039cb687b0c43b53/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f44726170657253747564696f2f6c61726176656c2d636f6d6d656e7461626c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/DraperStudio/laravel-commentable)[![Total Downloads](https://camo.githubusercontent.com/f251571e6fd9c79b5e0d6585d2d6387fa901c5b4f64af6aadf68bcb69a2e0eed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f44726170657253747564696f2f6c61726176656c2d636f6d6d656e7461626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/DraperStudio/laravel-commentable)

Install
-------

[](#install)

Via Composer

```
$ composer require christianvizarra/laravel-commentable
```

And then include the service provider within `app/config/app.php`.

```
'providers' => [
    DraperStudio\Commentable\ServiceProvider::class
];
```

At last you need to publish and run the migration.

```
php artisan vendor:publish --provider="DraperStudio\Commentable\ServiceProvider" && php artisan migrate

```

Usage
-----

[](#usage)

### Setup a Model

[](#setup-a-model)

```
