Download the PHP package ygpynet/leaderboard without Composer

On this page you can find all versions of the php package ygpynet/leaderboard. 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 leaderboard

Leaderboard

Leaderboard

A points-based leaderboard extension for Flarum forums, powered by ygpynet/point-system. All points live in point-system's ledger β€” this extension ranks users from it and adds a few extra point sources.

πŸ† Podium & Rankings

Podium Demo

πŸ“Š Top Contenders & Honorable Mentions

Contenders Demo

βš™οΈ Admin Settings

Admin Demo

Features

Installation

Requires ygpynet/point-system β€” composer installs it automatically.

Updating

To remove simply run composer remove ygpynet/leaderboard.

Quick Start

For Users

  1. Navigate to the Leaderboard page from the sidebar
  2. Use period pills to filter rankings (Daily, Weekly, Monthly, etc.)
  3. Click on any user card to visit their profile

For Admins

Navigate to Admin β†’ Leaderboard to configure the extension. The admin panel is organized into three tabs:

General Tab

The points label shown next to each score reuses the currency name configured in point-system's settings.

Points Tab

Configure point values for the leaderboard's extra point sources:

Section Activities Default
Core Daily login 1
Reactions Reaction received, Reaction given 1, 0
Best Answer Best answer selected 2
Badges Badge earned 3
Gamification Upvote received, Downvote received 1, -1

Core earning (discussions, posts, likes, check-in) is configured on point-system's own settings page.

Tip: Set a point value to 0 to disable that source. Negative values (e.g., downvotes) deduct points.

Exclusions Tab

How Points Flow

All point movements are recorded in point-system's transaction ledger:

Ranking Categories

Switch categories with the pills at the top of the leaderboard page:

Category All-time metric Period metric
Points point-system lifetime total Net credited points in period
Likes Received Self-likes excluded Likes received in period
Likes Given Self-likes excluded Likes given in period
Best Answers Best-answer posts (requires fof/best-answer) Set within period
Check-in Streak Current check-in streak (point-system) Check-in days within period
Replies Comment posts (excl. first post, hidden) Posted within period
Discussions Discussions started Started within period

Period Filtering

Optional Integrations

The leaderboard automatically integrates with these extensions when they are enabled:

Extension Point Sources
flarum/tags Tag-based exclusions
fof/reactions Reaction received, Reaction given
fof/best-answer Best answer selected
fof/badges Badge earned
fof/gamification Upvote received, Downvote received

No configuration is needed β€” install the extension and points will be awarded automatically based on your point settings.

🌍 Translations

This extension comes with English translations. Community translations are welcome!

Translate: Leaderboard at Weblate

Links

License

MIT License - see LICENSE.md


Developed with ❀️ by Hüseyin Filiz


All versions of leaderboard with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
flarum/core Version ^2.0.0-beta
ygpynet/point-system Version ^1.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 ygpynet/leaderboard contains the following files

Loading the files please wait ...