PHPackages                             tavaresevora/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tavaresevora/commentable

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tavaresevora/commentable
========================

A basic starting point for a flexible commentable system in Laravel

v0.5(8y ago)138MITPHP

Since Nov 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/TavaresEvora/commentable)[ Packagist](https://packagist.org/packages/tavaresevora/commentable)[ Docs](https://github.com/TavaresEvora/commentable)[ RSS](/packages/tavaresevora-commentable/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Commentable
-----------

[](#commentable)

### Installation

[](#installation)

Add commentable to your composer.json file to require :

```
    require : {
        ...
        "tavaresevora/commentable": "dev-master"
    }

```

Update Composer :

```
    composer update

```

The next required step is to add the service provider to config/app.php :

```
    Tavaresevora\Commentable\CommentableServiceProvider::class,
```

Migrate comments table

```
  php artisan vendor:publish --tag=comment-migrations
  php artisan migrate

```

### Usage

[](#usage)

Add commentable in model

```
