New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

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...

651,963,193 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

518,004,183 7,444
laravel/serializable-closure

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

435,097,283 607
nunomaduro/collision

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

407,699,310 4,663

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