PHPackages                             doublesecretagency/craft-upvote - 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. doublesecretagency/craft-upvote

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

doublesecretagency/craft-upvote
===============================

Lets your users upvote/downvote, "like", or favorite any type of element.

3.1.0(2y ago)1634.9k6[9 issues](https://github.com/doublesecretagency/craft-upvote/issues)proprietaryPHP

Since May 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/doublesecretagency/craft-upvote)[ Packagist](https://packagist.org/packages/doublesecretagency/craft-upvote)[ RSS](/packages/doublesecretagency-craft-upvote/feed)WikiDiscussions v3-dev Synced 2d ago

READMEChangelog (5)Dependencies (2)Versions (22)Used By (0)

[![Plugin icon](https://camo.githubusercontent.com/aefd45e7b378560bb49604c796c4d38327cc7642b5b09744bdef41811aac80b6/68747470733a2f2f706c7567696e732e646f75626c657365637265746167656e63792e636f6d2f7570766f74652f696d616765732f69636f6e2e737667)](https://camo.githubusercontent.com/aefd45e7b378560bb49604c796c4d38327cc7642b5b09744bdef41811aac80b6/68747470733a2f2f706c7567696e732e646f75626c657365637265746167656e63792e636f6d2f7570766f74652f696d616765732f69636f6e2e737667)

Upvote plugin for Craft CMS
===========================

[](#upvote-plugin-for-craft-cms)

**Lets your users upvote/downvote, "like", or favorite any type of element.**

---

[![](src/resources/img/example-heroes.png)](src/resources/img/example-heroes.png)

---

Upvote &amp; Downvote (similar to Stack Exchange)
-------------------------------------------------

[](#upvote--downvote-similar-to-stack-exchange)

Just specify the element ID of the item you want users to vote on. Any element type (Entry, Asset, User, etc) will work!

```

    {% for entry in craft.entries.section('superHeroes') %}

                {{ craft.upvote.upvote(entry.id) }}
                {{ craft.upvote.tally(entry.id) }}
                {{ craft.upvote.downvote(entry.id) }}

            {{ entry.title }}

    {% endfor %}

```

"Like" (similar to Facebook)
----------------------------

[](#like-similar-to-facebook)

Very similar to the configuration described above, except with:

- Downvoting disabled
- Customized "up" icon

"Favorite" (similar to a bookmarking system)
--------------------------------------------

[](#favorite-similar-to-a-bookmarking-system)

You can easily see what votes have been cast by a particular user...

```
craft.upvote.userHistory()
```

Read more about using the [user voting history](https://plugins.doublesecretagency.com/upvote/user-vote-history/).

Customize Icons
---------------

[](#customize-icons)

It's easy to customize your icons. You can either [adjust the CSS](https://plugins.doublesecretagency.com/upvote/customize-your-css/), or [replace the icons entirely](https://plugins.doublesecretagency.com/upvote/customize-your-icons/).

```
{% do craft.upvote.setIcons({
    up   : '',
    down : '',
}) %}
```

By default, Upvote uses the Font Awesome library. Which means you can easily swap to a different icon from the Font Awesome collection. And if you'd rather not use Font Awesome, you can disable the library from being included at all.

Sort by Highest Voted
---------------------

[](#sort-by-highest-voted)

Once your users have cast votes, you'll want to know which items are the most popular...

```
{% set heroes = craft.entries.section('superHeroes') %}
{% do craft.upvote.sort(heroes) %}
```

This will grab the list of elements normally, then sort them by [highest voted](https://plugins.doublesecretagency.com/upvote/sort-by-highest-voted/).

Settings
--------

[](#settings)

Here's a screenshot of the plugin's settings page...

[![](src/resources/img/example-settings.png)](src/resources/img/example-settings.png)

To see some other ways that Upvote is flexible, check out the [full documentation...](https://plugins.doublesecretagency.com/upvote/)

---

Further Reading
---------------

[](#further-reading)

If you haven't already, flip through the [complete plugin documentation](https://plugins.doublesecretagency.com/upvote/).

And if you have any remaining questions, feel free to [reach out to us](https://www.doublesecretagency.com/contact) (via Discord is preferred).

**On behalf of Double Secret Agency, thanks for checking out our plugin!** 🍺

 [![Logo for Double Secret Agency](https://camo.githubusercontent.com/e834ce35abc7cbeca17d458aba00fae271f59507ddf73fa2dfff1bee091b22ea/68747470733a2f2f7777772e646f75626c657365637265746167656e63792e636f6d2f7265736f75726365732f696d616765732f6473612d7472616e73706172656e742e706e67)](https://camo.githubusercontent.com/e834ce35abc7cbeca17d458aba00fae271f59507ddf73fa2dfff1bee091b22ea/68747470733a2f2f7777772e646f75626c657365637265746167656e63792e636f6d2f7265736f75726365732f696d616765732f6473612d7472616e73706172656e742e706e67)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance9

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 93.7% 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 ~119 days

Recently: every ~37 days

Total

20

Last Release

752d ago

Major Versions

2.3.3 → 3.0.02024-02-21

v2.x-dev → 3.1.02024-05-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/b9ec4fd6e26eb61622c4e869ab85bc19af660fbba9c0679a86c7cb39ac980c2a?d=identicon)[lindseydiloreto](/maintainers/lindseydiloreto)

---

Top Contributors

[![lindseydiloreto](https://avatars.githubusercontent.com/u/5309692?v=4)](https://github.com/lindseydiloreto "lindseydiloreto (104 commits)")[![andrewmenich](https://avatars.githubusercontent.com/u/29585821?v=4)](https://github.com/andrewmenich "andrewmenich (5 commits)")[![engram-design](https://avatars.githubusercontent.com/u/1221575?v=4)](https://github.com/engram-design "engram-design (1 commits)")[![piotrpog](https://avatars.githubusercontent.com/u/42622545?v=4)](https://github.com/piotrpog "piotrpog (1 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginlikefavoriteupvote

### Embed Badge

![Health badge](/badges/doublesecretagency-craft-upvote/health.svg)

```
[![Health](https://phpackages.com/badges/doublesecretagency-craft-upvote/health.svg)](https://phpackages.com/packages/doublesecretagency-craft-upvote)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

101400.6k78](/packages/verbb-formie)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M73](/packages/nystudio107-craft-seomatic)[verbb/hyper

A user-friendly links field for Craft.

24153.5k14](/packages/verbb-hyper)[verbb/vizy

A flexible visual editor field for Craft.

4251.5k1](/packages/verbb-vizy)[verbb/comments

Add comments to your site.

13754.0k1](/packages/verbb-comments)[verbb/navigation

Create navigation menus for your site.

90711.5k20](/packages/verbb-navigation)

PHPackages © 2026

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