github Darknetzz/php-rand v1.2.8

9 hours ago

[v1.2.8] (2026-03-24)

Major Features

  • New module: ID Generator – Added gen_id with UUIDv4, ULID, and NanoID generation (bulk quantity, configurable length, uppercase option).
  • New module: JWT Inspector – Added jwt with decode, verify, and sign flows for HMAC tokens (HS256/HS384/HS512).
  • Hash Generator – Added hash rounds (1–1000) and Use as input support.
  • HTML Entities – Added smart output modes (auto detect, encode only, decode only, show both) with cleaner output behavior.
📋 Detailed Changes (click to expand)

UX and Output Consistency

  • Copyable output – Updated output actions so Copy and Use as input render below output blocks for better readability.
  • Form submit flow – Added shared JS submit helper (submitToolForm) and shared loading markup to reduce per-module divergence.
  • String Tools alignment – Updated String Tools to use the same submit path/options as other modules.

Architecture and Routing

  • Router cleanup – Updated gen.php to a thin router delegating to executeHandler() and removed the legacy inline action chain.
  • Module dedupe – Removed legacy encoding.php from auto-include to avoid overlapping UI and duplicate IDs.
  • ID collision cleanup – Renamed conflicting form IDs in active modules and added a runtime duplicate-ID warning check in JS.

Module Enhancements

  • Hashing – Fixed Use as input to work through the functional handler path (handle_hash, including action=hasher).
  • ID Generator UX – Improved the form by conditionally showing NanoID length only when NanoID is selected.

Don't miss a new php-rand release

NewReleases is sending notifications on new releases.