Download the PHP package shebaoting/flarum-avatar without Composer

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

Flarum Avatar

中文说明

Flarum Avatar is a Reddit-style avatar builder for Flarum 2. It replaces the default avatar upload flow with a layered SVG editor where users can style a full character, preview every item on the base avatar, pick outfits, tune colors, choose a background, and display the finished avatar in forum UI.

The editor is designed for communities that want a playful identity system instead of simple uploaded profile pictures. It keeps the experience inside Flarum, uses the active forum language, and stores each user's selections as structured avatar decoration data.

Screenshots

Features

Requirements

Installation

Install the extension with Composer:

For local development in this repository, the package can be loaded through a Composer path repository from the Flarum app:

Then require the package from the Flarum root:

Usage

After enabling the extension, users edit their avatar by clicking their avatar in:

The editor opens at:

The default avatar upload and remove controls are intentionally hidden so the decoration editor becomes the only avatar-management entry point.

Asset Structure

Avatar assets are bundled in:

The extension scans tab folders such as:

Normal tabs contain SVG files or item folders. The Outfits tab supports section folders, and every outfit item can be a folder containing multiple child SVG parts plus a preview image such as:

The default avatar is rendered from layered SVG files under:

This layered base allows items to replace or overlay specific body parts instead of simply stacking everything on top.

Frontend Development

When changing forum or admin JavaScript, rebuild the bundled assets:

Then publish Flarum assets:

Localization

The extension includes:

Flarum automatically selects the matching language according to the forum's current locale.

License

MIT

Community & Contact

Community: https://wyz.xyz

Email: [email protected]

Available for custom Flarum extension development and general software development projects.


All versions of flarum-avatar with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
flarum/core Version ^2.0.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/flarum-avatar contains the following files

Loading the files please wait ...