PHPackages                             webazin/comment - 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. webazin/comment

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

webazin/comment
===============

comments syetem for Laravel 5

v1.0(8y ago)119MITPHPPHP &gt;=5.5.9

Since May 2Pushed 8y agoCompare

[ Source](https://github.com/webazin/comment)[ Packagist](https://packagist.org/packages/webazin/comment)[ RSS](/packages/webazin-comment/feed)WikiDiscussions master Synced 2w ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/37f11421bdf6172eb0ffe9d82de3c1453498015683e19a6bf14b0fa3120b570a/68747470733a2f2f706f7365722e707567782e6f72672f776562617a696e2f636f6d6d656e742f762f737461626c652e737667)](https://packagist.org/packages/webazin/comment) [![License](https://camo.githubusercontent.com/32385f43d5d0da19dff8db00e0c0686e0a6c0208c5ccda0278dd58034f6489dc/68747470733a2f2f706f7365722e707567782e6f72672f776562617a696e2f636f6d6d656e742f6c6963656e73652e737667)](https://packagist.org/packages/webazin/comment)

[![Total Downloads](https://camo.githubusercontent.com/0a7df5993d6eae4a048a31c09d110082e0f9c315ea3f85f83cb026168fd30736/68747470733a2f2f706f7365722e707567782e6f72672f776562617a696e2f636f6d6d656e742f646f776e6c6f6164732e737667)](https://packagist.org/packages/webazin/comment)

Laravel Comment
===============

[](#laravel-comment)

comment system for laravel 5

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

[](#installation)

First, pull in the package through Composer.

```
composer require webazin/Comment
```

or add this in your project's composer.json file .

```
"require": {
  "webazin/Comment": "^1.0",
}

```

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

```
'providers' => [
    webazin\Comment\CommentServiceProvider::class
];
```

---

Getting started
---------------

[](#getting-started)

After the package is correctly installed, you need to generate the migration.

```
php artisan comment:migration

```

It will generate the `_create_comments_table.php` migration. You may now run it with the artisan migrate command:

```
php artisan migrate

```

After the migration, one new table will be present, `comments`.

Usage
-----

[](#usage)

### Setup a Model

[](#setup-a-model)

```
