This guide assumes that you already know how to install and configure Laravel.
appdirectory, create a
commentsfolder and extract all the files from the archive you have downloaded from CodeCanyon.
composer.jsonfile and add the following line to the
And this one to your dependencies (
In your terminal/console run
php artisan vendor:publish --provider="Hazzard\Comments\CommentsServiceProvider"
This command will publish the configuration file (config/comments.php), the assets folder (public/vendor/comments) and the database migrations *.
Notice: The script assumes that you have already have the users table installed.
php artisan migrate
* The migrations will add 3 tables
comment_options and a
role field to your users table. This field will be used to determine if the the authenticated user is an admin or a regular user.
Notice: If your app already has another method to determine that, then delete the
..._add_users_role_column.phpmigration from the database/migrations directory.
git clone https://github.com/hazzardweb/ajax-comment-system-laravel-demo.git
Laravel Comments requires Laravel 5.1.9 and supports the following browsers (desktop and mobile): Chrome, Firefox, Opera, Safari MS Edge and IE9+.