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. dereuromark/cakephp-favorites

ActiveCakephp-plugin

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

A CakePHP plugin for managing user favorites, bookmarks and wishlists

0.1.4(3mo ago)35.2k[1 issues](https://github.com/dereuromark/cakephp-favorites/issues)MITPHPPHP &gt;=8.2CI passing

Since Apr 4Pushed 2mo 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 1mo ago

READMEChangelog (5)Dependencies (5)Versions (6)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)

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

43

—

FairBetter than 91% of packages

Maintenance77

Regular maintenance activity

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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 ~168 days

Total

5

Last Release

95d 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 (73 commits)")

---

Tags

plugincakephpFavorites

###  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

338920.1k32](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-tinyauth

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

129228.6k10](/packages/dereuromark-cakephp-tinyauth)[dereuromark/cakephp-databaselog

A CakePHP plugin for storing and viewing application logs in the database

44165.0k2](/packages/dereuromark-cakephp-databaselog)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

36162.8k2](/packages/dereuromark-cakephp-setup)[dereuromark/cakephp-dto

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

2988.9k3](/packages/dereuromark-cakephp-dto)[lordsimal/cakephp-sentry

Sentry plugin for CakePHP

12270.3k](/packages/lordsimal-cakephp-sentry)

PHPackages © 2026

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