PHPackages                             cuneytyuksel/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. [Framework](/categories/framework)
4. /
5. cuneytyuksel/commentable

ActiveLibrary[Framework](/categories/framework)

cuneytyuksel/commentable
========================

Commentable Polymorphic Eloquent Models for for Laravel 5

1.0(6y ago)037MPL-2.0PHPPHP ^7.2

Since Dec 28Pushed 3y agoCompare

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

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

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

[](#laravel-commentable)

[![Build Status](https://camo.githubusercontent.com/d7c6640657e0d45025e15bc115ad1ac365b29c6e1453e300fa6d2740730e9380/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6172746973616e72792f436f6d6d656e7461626c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/artisanry/Commentable)![PHP from Packagist](https://camo.githubusercontent.com/57000b708ef66b18320900d7ee8135d08fe5c7e62888cd359aad625742c41068/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6172746973616e72792f636f6d6d656e7461626c652e7376673f7374796c653d666c61742d737175617265)[![Latest Version](https://camo.githubusercontent.com/7e33ad8d6cc4abbff17a54349d4f914c6924a977565dda3ad2181d79b94b591e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6172746973616e72792f436f6d6d656e7461626c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/artisanry/Commentable/releases)[![License](https://camo.githubusercontent.com/69d9979df052f81975d903b820e1b7093de3079a96977f5372019a547d3d7b93/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6172746973616e72792f436f6d6d656e7461626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/artisanry/Commentable)

Installation
------------

[](#installation)

Require this package, with [Composer](https://getcomposer.org/), in the root directory of your project.

```
$ composer require artisanry/commentable
```

To get started, you'll need to publish the vendor assets and migrate:

```
php artisan vendor:publish --provider="Artisanry\Commentable\CommentableServiceProvider" && php artisan migrate

```

Usage
-----

[](#usage)

### Setup a Model

[](#setup-a-model)

```
