https://github.com/yuges-code/laravel-commentable
Package for easily attaching comments to Laravel eloquent models 🗯️
https://github.com/yuges-code/laravel-commentable
comments laravel php
Last synced: 12 months ago
JSON representation
Package for easily attaching comments to Laravel eloquent models 🗯️
- Host: GitHub
- URL: https://github.com/yuges-code/laravel-commentable
- Owner: yuges-code
- License: mit
- Created: 2025-02-05T09:55:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-18T10:46:47.000Z (12 months ago)
- Last Synced: 2025-02-18T11:36:07.565Z (12 months ago)
- Topics: comments, laravel, php
- Language: PHP
- Homepage: https://yuges-code.github.io/laravel-commentable/
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel-commentable




Package for easily attaching comments to Laravel eloquent models
## Installation
### Publishing the config file
Publishing the config file (`config/commentable.php`) is optional:
```
php artisan vendor:publish --provider="Yuges\Commentable\Providers\CommentableServiceProvider" --tag="commentable-config"
```
### Preparing the database
You need to publish the migration to create the comments table:
```
php artisan vendor:publish --provider="Yuges\Commentable\Providers\CommentableServiceProvider" --tag="commentable-migrations"
```
After that, you need to run migrations.
```
php artisan migrate
```