Skip to content

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

License

Notifications You must be signed in to change notification settings

yuges-code/laravel-reactable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Laravel-reactable

GitHub Release Packagist Downloads GitHub License Packagist Stars

Package for easily attaching reactions to Laravel eloquent models

Installation

Publishing the config file

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

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

Preparing the database

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

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

After that, you need to run migrations.

php artisan migrate

Publishing the seeders

You need to publish the seeders to fill out the reaction type table:

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

After that, you need to run seeders.

php artisan db:seed --class=ReactionTypeSeeder

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages