jsdecena/comments

Laravel Commenting

Maintainers

👁 jsdecena

Package info

github.com/jsdecena/comments

pkg:composer/jsdecena/comments

Statistics

Installs: 1 037

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

v0.1.3 2018-10-09 08:43 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 9751bc5a5599e79e0d6f263107bf2531781f72ef

  • Jeff Simons Decena <jeff.decena.woop@yahoo.com>

This package is auto-updated.

Last update: 2026-06-10 02:25:37 UTC


README

Laravel commenting system

👁 Build Status
👁 Latest Stable Version
👁 Total Downloads
👁 License

How to install

  • Run in your terminal composer require jsdecena/comments

  • Add the base service provider in your config/app.php file like this:

 'providers' => [

 /*
 * Package Service Providers...
 */
 Jsdecena\Comments\CommentServiceProvider::class,
 ],
  • Publish files
php artisan vendor:publish
  • Edit config. Make sure your user is correctly referenced. Commentable type could be any Model (eg. Post). This is only used in initial seeding.
<?php

return [
 'user' => 'App\User',
 'commentable_type' => 'App\User'
];
  • Migrate database
php artisan migrate

Author

Jeff Simons Decena