Skip to content

yuges-code/laravel-reactable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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:

About

Package for easily attaching reactions to Laravel eloquent models πŸ‘ πŸ₯³ πŸ‘€ 😍

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •  

Languages