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

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

bishalgurung/laravel-comment
============================

0.20.0(2y ago)06MITPHP

Since Apr 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/LeonSchiffer/laravel-comment)[ Packagist](https://packagist.org/packages/bishalgurung/laravel-comment)[ RSS](/packages/bishalgurung-laravel-comment/feed)WikiDiscussions main Synced 1mo ago

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

Installation
============

[](#installation)

#### Installing the package

[](#installing-the-package)

```
composer require bishalgurung/laravel-comment
```

#### Exporting the migration files:

[](#exporting-the-migration-files)

```
php artisan vendor:publish --provider="BishalGurung\Comment\CommentServiceProvider" --tag="migration"
```

#### Migrating the tables

[](#migrating-the-tables)

```
php artisan migrate
```

#### Seeding default reactions:

[](#seeding-default-reactions)

```
php artisan comment:install
```

You can add more reactions by changing the "reactions" array in the ***comment.php*** config file and running ***comment:install*** again

#### Exporting the config file (optional):

[](#exporting-the-config-file-optional)

```
php artisan vendor:publish --provider="BishalGurung\Comment\CommentServiceProvider" --tag="config"
```

The follwing will publish the config file below

```
