jackrobin / emotion
Expressive reactions for Eloquent models.
1.0.0
2019-08-28 14:55 UTC
Requires
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpdocumentor/reflection-docblock: ^4.3
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
- vlucas/phpdotenv: ^3.3@dev
This package is not auto-updated.
Last update: 2024-04-19 12:25:23 UTC
README
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.