jackrobin/emotion

Expressive reactions for Eloquent models.

1.0.0 2019-08-28 14:55 UTC

This package is not auto-updated.

Last update: 2024-04-19 12:25:23 UTC


README

Latest Version on Packagist Total Downloads Pipeline Coverage StyleCI

Facebook-like reactions for Eloquent models. Let your users express themselves!

Installation

Via Composer

composer require jackrobin/emotion

Then publish and run the migrations

php artisan vendor:publish --tag=migrations --provider=
php artisan migrate

Usage

$discussion->receive('love', $user);
$user->express('love', $discussion);

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email kalynrobinson@gmail.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.