🔨Installation

Step 1 :

composer require lakm/laravel-comments -W

Step 2 :

php artisan commenter:install

Step 3 :

Include styles in your layout.

<html>
    <head>
        @commentsStyles
    </head>
</html>

To avoid CSS name conflicts, we recommend adding your styles to the end of the head tag.

Include scripts in your layout

<html>
    <body>
        @commentsScripts
    </body>
</html>

To improve performance we recommend adding script at the end of the body tag.

Optionally you can publish the views using below command,

php artisan vendor:publish --tag=comments-views

Last updated