Download the PHP package shebaoting/money without Composer

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

Money

License Latest Stable Version Total Downloads

A Flarum extension that adds a configurable virtual currency and point ledger to your community.

Looking for Chinese documentation? Read the 中文介绍.

Money lets a community reward, charge, redistribute, and audit points around common forum actions such as posting, replying, liking, registration, and moderator edits. It is designed for communities that want points to represent attention, contribution, participation cost, or other internal value.

This extension is based on flarum-ext-money by AntoineFr. Thanks to the original author for the excellent foundation. This fork keeps the original idea and adds more opinionated logging, redistribution, and Flarum 2.x compatibility features.

Compatibility

Features

Virtual Currency

Point Ledger

Registration Bonus

Posting And Reply Rules

Reply Feedback

Like Rewards And Costs

Extra Character Rules

Moderation And Manual Editing

Auto Adjustment On Hidden, Restored, Or Deleted Content

Multi-Level Display

Admin Settings

Setting Description
Money name Display template for balances. Use [money] as the numeric placeholder.
Initial money Points granted to new users on registration.
Level names Optional comma-separated labels for multi-level display.
Money scale Base used to split balances across level names.
New post amount Amount applied when a user creates the first post in a discussion.
Reply amount Amount applied when a user replies to a discussion.
Like amount Amount applied when a user likes a post.
Change type Choose reward or deduction for post, reply, and like rules.
Feedback Choose whether reply/like deductions reward the original author.
Character threshold Minimum content length before extra character points apply.
Character increment Number of extra characters per additional point change.
Points per increment Points applied for each extra character increment.
Auto update money Choose how hidden/restored/deleted content affects balances.
Hide zero Hide zero balances on user cards.

Installation

Install with Composer:

Run migrations and clear the Flarum cache:

Then enable the extension in the Flarum admin panel and configure the permission and point rules.

Updating

If your forum still requires the old package name, switch the Composer requirement first:

When upgrading from 0.x to 2.x, make sure your forum is already running Flarum 2.x beta and PHP 8.3 or newer.

Development

Install JavaScript dependencies and build the front-end assets from the js directory:

Validate the Composer package from the extension root:

Philosophy

The design philosophy behind this system is a metaphor for time.

Everything you do in a community consumes time. If a contribution receives no meaningful response, it can feel like the time was spent in vain. A point system can make that invisible cost and feedback loop visible: creating, replying, and liking can all represent attention moving between people.

For a similar concept, I recommend watching the movie In Time.

Contact

You can contact me if you wish to fund or discuss Flarum extension development.

Email: [email protected]

Links


All versions of money with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
flarum/core Version ^2.0.0-beta
flarum/likes Version ^2.0@beta
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 shebaoting/money contains the following files

Loading the files please wait ...