PHPackages                             dereuromark/cakephp-favorites - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dereuromark/cakephp-favorites

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

dereuromark/cakephp-favorites
=============================

A CakePHP plugin for managing user favorites, bookmarks and wishlists

0.2.1(2mo ago)37.1kMITPHPPHP &gt;=8.2CI passing

Since Apr 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/dereuromark/cakephp-favorites)[ Packagist](https://packagist.org/packages/dereuromark/cakephp-favorites)[ Docs](https://github.com/dereuromark/cakephp-favorites/)[ RSS](/packages/dereuromark-cakephp-favorites/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (7)Dependencies (14)Versions (13)Used By (0)

CakePHP Favorites Plugin
========================

[](#cakephp-favorites-plugin)

[![CI](https://github.com/dereuromark/cakephp-favorites/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-favorites/actions?query=workflow%3ACI+branch%3Amaster)[![Coverage Status](https://camo.githubusercontent.com/1f117c3f7beb8814572fe7d4bc42482c658fe17978d7a8a76fc2d2bbc5bf995e/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6465726575726f6d61726b2f63616b657068702d6661766f72697465732f6d61737465722e737667)](https://app.codecov.io/github/dereuromark/cakephp-favorites/tree/master)[![PHPStan](https://camo.githubusercontent.com/f60d96f7c2579690ab6dfa8918f777fe93a02a92301c661eb38a85861a92b780/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e2e7376673f7374796c653d666c6174)](https://phpstan.org/)[![Latest Stable Version](https://camo.githubusercontent.com/97b63df76158b977aef636749417e65e978fbe85098e2cc1b41cdb0e05a93a0f/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d6661766f72697465732f762f737461626c652e737667)](https://packagist.org/packages/dereuromark/cakephp-favorites)[![Minimum PHP Version](https://camo.githubusercontent.com/ec21f169d70b69344c67d6f18fa1a24d20476d2f0cd680e8c4a1534c22f34e5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e322d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/b43f4b87a99d1981f8c03e69a31949f595ac1a49523d767c89dc9ebdc2884a12/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d6661766f72697465732f6c6963656e73652e706e67)](https://packagist.org/packages/dereuromark/cakephp-favorites)[![Total Downloads](https://camo.githubusercontent.com/7f1e778284dbb638571c18c8469c1fe1d9fe545f4fec4c7b4f8e9d937939e00a/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d6661766f72697465732f642f746f74616c2e737667)](https://packagist.org/packages/dereuromark/cakephp-favorites)[![Coding Standards](https://camo.githubusercontent.com/4788bab10b61ca8b0d56334238717a9191fe9cceecb154973f8854146a2bb5a6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63732d5053522d2d322d2d522d707572706c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-fig-rectified/fig-rectified-standards)

Favorites plugin for CakePHP applications.

This branch is for use with **CakePHP 5.1+**. For details see [version map](https://github.com/dereuromark/cakephp-favorites/wiki#cakephp-version-map).

Motivation
----------

[](#motivation)

The old Favorites plugins don't seem to be supported anymore:

-  (Cake 2)
- Similar to  (Cake 2)

This plugin aims to merge and revive them as modern CakePHP 5.x plugin. Hopefully we can have all the features back up and working soon.

Features
--------

[](#features)

"Favorites" lets people express how they feel about some content. Make any model reactable in a minutes!

There are many implementations in modern applications:

- Starred a.k.a GitHub stars (and remove star)
- GitHub Reactions
- Facebook Reactions
- YouTube Likes
- Slack Reactions
- Reddit Votes
- Medium Claps

This package so far mainly supports basic reactions per entity in 3 different types:

- **star** (yes/no)
- **like** (upvote/downvote/none)
- **favorite** (custom enum list)

But it could be developed in mind that it should cover all the possible use cases and be viable in enterprise applications including multiple reactions per entity. Help is appreciated.

A "counter-cache" field can be put on the starred record itself, to more easily count the "stars" without having to calculate it at runtime.

For ratings (e.g. 1-5 star range) use  instead.

### Install, Setup, Usage

[](#install-setup-usage)

See the **[Docs](docs/README.md)** for details.

### Demo

[](#demo)

See

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance87

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~130 days

Recently: every ~154 days

Total

7

Last Release

83d ago

PHP version history (2 changes)0.1.0PHP &gt;=8.1

0.1.4PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39854?v=4)[Mark Scherer](/maintainers/dereuromark)[@dereuromark](https://github.com/dereuromark)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (93 commits)")

---

Tags

favoriteslikesratingstarsvotesplugincakephpbookmarkswishliststarsFavorites

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dereuromark-cakephp-favorites/health.svg)

```
[![Health](https://phpackages.com/badges/dereuromark-cakephp-favorites/health.svg)](https://phpackages.com/packages/dereuromark-cakephp-favorites)
```

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3321.0M51](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131242.7k13](/packages/dereuromark-cakephp-tinyauth)[cakephp/bake

Bake plugin for CakePHP

11212.2M223](/packages/cakephp-bake)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1892.4M48](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

30101.5k6](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

35213.9k2](/packages/dereuromark-cakephp-setup)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
