Download the PHP package ramon/point-system without Composer

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

Point System

License Latest Stable Version Total Downloads GitHub Release Donate

A complete gamification system for Flarum — users earn points for activity, spend them on avatar frames, animated username styles and group tiers, with admin tools for catalog management, manual adjustments and tier configuration.


Features

Requirements

Installation

Then enable Point System under the Extensions page in the admin panel.

Updating

Configuration

All settings live in Admin → Extensions → Point System → Points & Rules.

Setting Description Default
Enable point system Master switch — when off, no points are awarded true
Enable auto-group tiers Lets users buy group membership with points true
Track and show lifetime points When off, the lifetime totals stay tracked internally but are hidden from the UI true
Enable avatar frames Master toggle for avatar decorations true
Enable username decorations Master toggle for name decorations true
Decorations in post stream Apply decorations on the post header username true
Decorations on user card / profile Apply decorations on the profile card and the avocado hero true
Decorations in discussion lists Apply decorations in discussion lists and avocado thread cards true
Show points in post header Show the user's balance as a chip next to the post-header username true
Show points on user profile Show the balance pill on the user profile / user card true
Hide user badges when avatar frame is equipped Suppress mod/admin badges next to decorated avatars false
Currency name Plural label for the points (e.g. Coins, Gems) Points
Currency icon class FontAwesome class for the points icon fas fa-coins
Points per new discussion Awarded to the author when they open a new discussion 10
Points per reply Awarded for each non-OP post the user publishes 5
Points per like received Awarded to the author when a post is liked 2
Points per like given Awarded to the liker (encourages engagement) 1
Sign-up bonus Awarded once when a user registers 50
Daily login bonus Awarded the first time a user is seen each day 5

Permissions

API Endpoints

Method Endpoint Description
POST /api/point-system/claim/{id} Spend points to claim a shop item; idempotent (re-claim returns the existing claim)
POST /api/point-system/tier-claim Buy permanent group membership
POST /api/point-system/equip Equip an owned decoration
POST /api/point-system/unequip Unequip the current decoration of a type
POST /api/point-system/avatar-decoration/upload Upload a new avatar frame (admin) — also handles replace-image
DELETE /api/point-system/avatar-decoration/{id} Delete an avatar frame + its file on disk (admin)
POST /api/point-system/award Manually credit or debit a user's points (admin)

JSON:API resources are also exposed for point-system-avatar-decorations, point-system-name-decorations, point-system-auto-group-tiers, point-system-shop-items and point-system-claims.

Events

The extension fires the following events that other extensions can listen to:

Links

Authors

License

MIT


All versions of point-system with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^2.0.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 ramon/point-system contains the following files

Loading the files please wait ...