github businesstilto/commentable v0.3.0

14 hours ago

What's Changed

  • Add down method to comments table migration for proper rollback support by @csh-tech in #22
  • Add comment reactions feature with emoji support by @csh-tech in #20

Full Changelog: v0.2.0...v0.3.0

Upgrade Guide

1. Re-publish the migrations

Re-run the package migrations to ensure the latest changes are applied:

php artisan vendor:publish --tag="commentable-migrations"

Then run the migrations if needed:

php artisan migrate

2. Update the configuration

Add the following reaction configuration to your commentable.php config file:

/*
|--------------------------------------------------------------------------
| Reactions
|--------------------------------------------------------------------------
*/
'reaction' => [
    'model' => Tilto\Commentable\Models\CommentReaction::class,
    'allowed' => ['๐Ÿ‘', 'โค๏ธ', '๐Ÿ˜‚', '๐Ÿ˜ฎ', '๐Ÿ˜ข', '๐Ÿค”'],
],

Thatโ€™s it! Your application is now ready to use comment reactions.

Don't miss a new commentable release

NewReleases is sending notifications on new releases.