Download the PHP package phpdominicana/reactify without Composer
On this page you can find all versions of the php package phpdominicana/reactify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phpdominicana/reactify
More information about phpdominicana/reactify
Files in phpdominicana/reactify
Package reactify
Short Description Reactify a easy way to add likes to comment, photos, etc.
License MIT
Homepage https://github.com/elminson/reactify
Informations about the package reactify
Reactify an easy way to add likes to comment, photos, etc.
Add reactions (like 👍, dislike 👎, love ❤️, haha 😄, etc.) to any Eloquent model in Laravel. Perfect for blogs, comments, posts, reviews, and more.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
Usage
Add the trait to the model you want to add reactions.
Sample usage
Get total reactions for all types
Available Reaction Types
You can define your own reactions via constants:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- PHP Dominicana
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of reactify with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/support Version ^12.0