jsdecena/comments

Laravel Commenting
1,037
Install
composer require jsdecena/comments
Latest Version:v0.1.3
PHP:>=7.1.3
Laravel:5
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...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
laravel/serializable-closure

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

418,291,778 609
nunomaduro/collision

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

394,964,158 4,660

Version History

Version Released PHP Laravel License
v0.1.3 >=7.1.3 ^5.6 MIT
v0.1.2 >=7.1.3 ^5.6 MIT
v0.1.1 >=7.1.3 ^5.6 MIT
v0.1.0 >=7.1.3 ^5.6 MIT