Skip to content

About

Comment package

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Comment Package

Package setup steps:

  • Go to project root directory from terminal

  • Run following commands:

    composer require janakkapadia/commentable
    php artisan vendor:publish --tag=comment-migrations
    php artisan migrate
  • You need add trait in following model:

    use HasComments;
  • Create Comment:

    $model->comments()->create([
        "comment" => "add content here"
    ]);

About

Comment package

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages