jsdecena/comments

Laravel Commenting
1,037
Install
composer require jsdecena/comments
Latest Version:v0.1.3
PHP:>=7.1.3
License:MIT
Last Updated:Oct 9, 2018
Links: GitHub  ·  Packagist
Maintainer: jsdecena

JSD Comments

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

384,821,166 4,658