Download the PHP package ernestdefoe/fanfare without Composer

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

Fanfare

License Latest Stable Version

A Flarum 2 extension that makes your forum mark the moment. On a member's birthday a big layered cake rises onto their screen with the candles lighting one by one and "Happy Birthday" piped on it. On Christmas a wrapped present arrives with a gift tag from your forum and twinkling lights across the top. Each occasion has its own centrepiece, a tune to tap and play, and effects behind it.

What it celebrates

Occasion The moment
A member's birthday A three-tier cake rises, the candles light, confetti falls. Tap a candle or Make a wish to blow them out.
A member's join anniversary, every year A medal with the number of years and a star for each, and a fanfare.
The forum's own birthday A gold number balloon with a bunch of balloons, bunting across the top and the forum's numbers.
New Year's Eve and Day A gold clock counts down to each member's own midnight, then strikes twelve into fireworks.
Christmas A wrapped present with a swinging gift tag ("To: you, From: your forum"), string lights and snow. Tap it to open it.
Hanukkah A menorah lit for the night: the shamash first, then the newest candle.
Lunar New Year A silk lantern drops in and strings of firecrackers pop.
Diwali A rangoli blooms and a row of diyas lights up.
Eid al-Fitr and Eid al-Adha A gold crescent with lanterns that light in turn.
Halloween A carved pumpkin lights up and bats fly out.
Thanksgiving (US and Canada) An autumn leaf wreath, with leaves falling.

The US holidays are on when you install it; the world holidays are a switch away in the settings.

Everyone also sees Today's birthdays and anniversaries in the sidebar (a strip of chips on phones) with a one-tap Wish, which sends a notification. Members get a badge for their day on their posts and profile.

Gentle by design

Birthdays and privacy

Members set their birthday in Settings → Fanfare: month and day, with the year optional (only needed to show an age). They choose who sees it: nobody (they still get their own greeting), the day, or the day and their age.

If Birthdays by datlechin is installed, Fanfare uses its birthday field and its privacy choices instead.

With Festoon

If Festoon is installed, Fanfare takes holiday dates from it, so the two always agree. Festoon's falling snow or leaves keep falling and Fanfare doesn't add its own. A member who turned Festoon's decorations off doesn't get Fanfare's effects either.

Settings

Admin → Fanfare:

Admins can preview any moment with ?fanfare=<id> on the forum, for example ?fanfare=christmas or ?fanfare=birthday. Only admins see a preview.

Permissions

Permission Default Allows
See today's birthdays and anniversaries Members The widget, the badges and the list.
Send birthday and anniversary wishes Members The Wish button. One wish per person, occasion and year.

Install

The anniversary and birthday greetings in the notification bell are sent by Flarum's scheduler, so set up its cron entry (docs).

Update

Credits

The display fonts Pacifico (the Pacifico Project Authors) and Creepster (Font Diner, Inc) are licensed under the SIL Open Font License 1.1; the licences are in assets/fonts/.

Links


All versions of fanfare with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-intl Version *
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/fanfare contains the following files

Loading the files please wait ...