Download the PHP package ernestdefoe/cadence without Composer

On this page you can find all versions of the php package ernestdefoe/cadence. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cadence

Cadence

See a member's rhythm, not just their volume.

An activity map on every profile — and, if you want it, a compact trace beside every post and on user cards.

Flarum


Press any square and it tells you what happened that day: 2 things on September 7, 2026 — 1 discussion started · 1 reply.

On a phone the map scrolls sideways inside the profile card, and it opens on the newest weeks:

Why not just copy GitHub's graph

Because GitHub's has six problems, and on a forum they matter more than they do on a code host.

Where it shows

Placement Default
The full map on member profiles On
A 26-week sparkline beside every post Off
A sparkline on user cards Off

🚨 The sparklines cost no extra requests. They read an attribute that rides along on the user the page had already loaded. A placement that appears once per post cannot fetch its own data — thirty posts would be thirty requests, which is how a shared host runs out of database connections and returns 500 for the whole forum rather than for the decoration that caused it.

Settings

Admin → Cadence:

Installation

That last command is worth running once. Cadence maintains its counts from events as they happen, so on a forum with existing history it starts empty until you rebuild — and a map that tells every member they have never done anything is worse than no map.

Rebuilds the posts and likes buckets from your forum's own tables. Safe to re-run.

Only activity a guest could see is counted — or, on a forum guests cannot open, activity an ordinary member could see. Posts in staff-only tags, private discussions and direct messages never reach a map, because the map is one set of counts shown to everyone who can open the profile. Change who can see a tag and run this again, so activity already counted follows the new permissions.

🚨 Reactions and best answers cannot be rebuilt — neither records when it happened, so those two accumulate from the day you install rather than backfilling. Posts and likes rebuild exactly.

Works alongside Calendar

ernestdefoe/calendar has a profile heatmap of its own. When Cadence is installed and showing on profiles, Calendar stands its own one down, so nobody ends up with two. Turn Cadence's profile placement off and Calendar's comes back.

How it stays cheap

Activity is rolled up into one row per member, per hour, per kind. A profile view is an indexed range scan over that member's own rows — it never aggregates over posts, which on a forum of any size is a table scan per profile visit.

Hourly rather than daily is what lets the day boundary be decided when the map is read, in the reader's timezone, instead of being baked into the data forever at the server's.

Requirements

Support

Licence

MIT.


All versions of cadence with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
flarum/core Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ernestdefoe/cadence contains the following files

Loading the files please wait ...