jsdecena/comments
JSD Comments
Laravel commenting system
How to install
-
Run in your terminal
composer require jsdecena/comments -
Add the base service provider in your
config/app.phpfile 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
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
641,106,524
9,700
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 |