Skip to content

ram0ng1/verified

Repository files navigation

Verified

Verified

CI Packagist Downloads Flarum License Donate

A verified badge for Flarum users, the way X does it.

Verified adds a blue check next to usernames everywhere they show up: posts, profiles, user cards and mentions. Users apply from their own settings page, admins approve or reject from a dedicated panel, and the badge follows the user around the forum from then on.

It can be as light or as strict as your community needs. Run it as a simple request and approve flow, or require an identity document with each request, encrypt the uploads with a public key and let a retention policy purge the files later.

What it does

  • Blue verified badge wherever the username is rendered, with an optional hover tooltip showing who verified and when
  • Verification requests from the user's settings page, reviewed in an admin panel
  • Optional identity document upload, with public key encryption and configurable retention
  • Avatar lock for verified users, so the face people trust does not change silently
  • Custom badge SVG, size and color if the default does not match your theme
  • Notifications by alert and email when a request is handled
  • Plays nice with flarum/gdpr for export, anonymization and erasure

Installation

composer require ramon/verified
php flarum migrate
php flarum cache:clear

Then enable Verified on the Extensions page. Settings, permissions and the request queue all live in the admin panel, each option explained in place.

Good to know

  • Documents are wiped on the schedule you choose. The nightly verified:purge-documents command takes care of it, no cron of your own needed.
  • Encryption is opt in: set a public key in the settings and uploads are sealed before they touch the disk. The private key never goes in the database.
  • Everything the frontend does goes through the /api/verified/* endpoints, so verification can also be automated from outside.

License

MIT. Questions and ideas are welcome on the issue tracker.

About

Verified user badges with admin reviewed requests for Flarum 2

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors