Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 2.03 KB

installation.md

File metadata and controls

78 lines (53 loc) · 2.03 KB

Installation

Prerequisites

This guide assumes that you already know how to install and configure Laravel and have the latest version of Composer installed.

Install Laravel Comments

Extract the files from the archive you have downloaded from CodeCanyon into a laravel-comments folder in your project root.

Edit your composer.json file and add a local path repository:

"repositories": [
    {
        "type": "path",
        "url": "./laravel-comments"
    }
]

In your terminal run:

composer require hazzard/laravel-comments *@dev

Run the migrate command to create the necessary tables:

php artisan migrate

Publish the assets files with:

php artisan vendor:publish --provider="Hazzard\Comments\CommentsServiceProvider" --tag=public

You can publish the config-file with:

php artisan vendor:publish --provider="Hazzard\Comments\CommentsServiceProvider" --tag=config

Additionally you may want to clear the config, cache, etc:

php artisan config:clear
php artisan route:clear
php artisan cache:clear
php artisan view:clear

Head over to the Usage section to get started.

Clone Laravel Comments Demo

You can clone the demo version from the GitHub repository:

git clone https://github.com/hazzardweb/laravel-comments-demo.git

Then you can continue with the normal installation.

Requirements and Browser Support

  • Laravel: 6, 7, 8
  • PHP: 7.2, 7.3, 7.4, 8.0
  • Browsers: Chrome, Firefox, Opera, Safari, Edge
<style>.docs-content ol { padding-left: 20px; }</style>