laravel-love is a free, open source social networking project written in PHP and released under MIT. It has 1,204 GitHub stars, 76 forks and 11 open issues, and was last pushed 5 months ago. On this registry it ranks #29 of 44 tracked projects in Social Networking, with 5 head-to-head comparisons available.

What is laravel-love?

What it is

Laravel Love is an open-source PHP package that adds social reactions to Laravel Eloquent models. It is built for the Laravel ecosystem and distributed through Composer under the name cybercog/laravel-love. The project describes itself as the emotional part of an application: it lets people express how they feel about content, and it is designed so that any model can be made reactable in minutes.

The problem it solves is the recurring one of reaction plumbing. Applications that want GitHub Reactions, Facebook Reactions, YouTube Likes, Slack Reactions, Reddit Votes or Medium Claps normally require a hand-built table structure, relation definitions and counting logic for every new emotion. Laravel Love replaces that work with a reusable package offering a fully customizable Weighted Reaction System and a Reaction Type System that ships with Like and Dislike and accepts other custom emotion types. The README states the package was developed to cover all possible use cases and to remain viable in enterprise applications.

Key capabilities

  • Makes any Eloquent model reactable, so reactions attach to arbitrary content types rather than to one fixed table.
  • Provides a Weighted Reaction System for reactions that carry different values rather than a plain count.
  • Provides a Reaction Type System with Like and Dislike included out of the box.
  • Accepts custom emotion types beyond the built-in pair.
  • Describes itself as fully customizable across the reaction and reaction type layers.
  • Ships database migrations, applied through the standard php artisan migrate command.
  • Distributed under the MIT license and installable through Composer as cybercog/laravel-love.

Who uses it and how

  • Teams building Laravel applications that need GitHub-style reactions on issues, comments or posts.
  • Products that want Facebook-style reaction sets, where users pick among several feelings instead of a single like.
  • Sites reproducing YouTube Likes or Reddit Votes behaviour on user-submitted content.
  • Messaging or collaboration tools that follow the Slack Reactions model for acknowledging messages.
  • Publishers that want Medium-style claps, where the same reader can express intensity rather than a binary choice.
  • Developers making an existing model reactable, then running migrations to create the supporting tables.

Getting started

Install with Composer: composer require cybercog/laravel-love, then run php artisan migrate. Full instructions live in the Laravel Love Guide at laravel-love.readme.io, and upgrade notes are kept in UPGRADING.md.

When to use it — and when not to

No paid product is named in the supplied facts, so no direct commercial comparison can be made. A self-hoster runs this inside an existing Laravel application and therefore operates the application's own database and migration pipeline; the package itself does not require a separate service

project readme (upstream, from github) — read inline

Laravel Love

cog-laravel-love

Discord Releases Build StyleCI Code Quality License

Introduction

Laravel Love is emotional part of the application. It let people express how they feel about the content. Make any model reactable in a minutes!

There are many implementations in modern applications:

  • GitHub Reactions
  • Facebook Reactions
  • YouTube Likes
  • Slack Reactions
  • Reddit Votes
  • Medium Claps

This package developed in mind that it should cover all the possible use cases and be viable in enterprise applications.

Official Documentation

Documentation can be found in Laravel Love Guide.

Installation

Pull in the package through Composer.

$ composer require cybercog/laravel-love

Run database migrations.

$ php artisan migrate

Upgrading

Please see UPGRADING for detailed upgrade instructions.

License

🌟 Stargazers over time

Stargazers over time

About CyberCog

CyberCog is a Social Unity of enthusiasts. Research the best solutions in product & software development is our passion.

CyberCog

Frequently asked questions

Is laravel-love free to use?

laravel-love is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does laravel-love do?

Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction

What is laravel-love written in?

laravel-love is primarily written in PHP. Its source is publicly available at https://github.com/cybercog/laravel-love, and it has 1,204 GitHub stars.