yuges-code/laravel-reactable

๐Ÿ‘ Package for easily attaching reactions to Laravel eloquent models

Fund package maintenance!
yuges-code

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/yuges-code/laravel-reactable

1.0.1 2025-10-20 17:23 UTC

This package is auto-updated.

Last update: 2025-10-20 17:33:44 UTC


README

Build GitHub Branch Check Runs GitHub Tests Action Status Project GitHub Release Packagist Downloads GitHub License Packagist Stars Packagist Dependency Version Quality

Laravel Reactable

๐Ÿ‘ Package for easily attaching reactions to Laravel eloquent models


๐Ÿ’ฟ Installation

โ†’ Composer

You can install the package via composer:

composer require yuges-code/laravel-reactable

โ†’ Publishing Config

Publishing the config file (config/reactable.php) is optional:

php artisan vendor:publish --provider="Yuges\Reactable\Providers\ReactableServiceProvider" --tag="reactable-configs"

โ†’ Publishing Migrations

You need to publish the migration to create the reactions table:

php artisan vendor:publish --provider="Yuges\Reactable\Providers\ReactableServiceProvider" --tag="reactable-migrations"

โ†’ Running Migrations

After that, you need to run migrations:

php artisan migrate

โ†’ Publishing Seeders

You need to publish the seeder to seed the reaction types table:

php artisan vendor:publish --provider="Yuges\Reactable\Providers\ReactableServiceProvider" --tag="reactable-seeders"

โ†’ Running Seeders

After that, you need to run seeders:

php artisan db:seed

๐Ÿงช Running Tests

โ†’ PHPUnit tests

To run tests, run the following command:

composer test

โš–๏ธ License

The MIT License (MIT). Please see License File for more information.


๐Ÿ™†๐Ÿผโ€โ™‚๏ธ Authors Information

Created in 2025 by: