Helper Classes
Normalize text, validate and format values, and mask sensitive details for display. Convert units and money, encode and compress data, detect MIME types, and generate or validate identifiers and checksums. Find tools for version comparisons, serialization, events, queues, pipelines, and process execution.
Table of Contents
- Anonymous Class and Closure Serializer
Serialize closures and anonymous objects for later restoration.
- Common Helpers
Find the Luminova utility class for text cleanup, value checks, masking, conversions, or identifiers.
- Convert Units and Format Values
Convert sizes, durations, distances, weights, and temperatures. Format decimal and currency amounts and restore binary data from a hex dump.
- Encode and Compress Data
Encode and decode Base32 or URL-safe values, and compress data or HTTP responses.
- Managing and Emitting Custom Events Using Observers
Register named callbacks, emit events, and remove listeners.
- FIFO Tasks Queue Execution
Run tasks in FIFO order and inspect their results.
- Generate and Validate Luhn Check Digits
Calculate a Luhn checksum, generate a check digit, and check identifiers that use the Luhn algorithm.
- Utility Class for Basic Math Operations
Calculate numeric values and convert units, currencies, and coordinates.
- MIME Detection Utility
Detect MIME types and map file extensions to content types.
- Convert, Format, and Split Money
Convert between major and minor units, format amounts, apply rates, and divide a total.
- Data Transformation & Pipe Chain Executions
Transform a value through a sequence of operations and handle errors.
- Command Execution using Process Handler
Run commands or PHP callbacks and collect their output.
- Generate Random Values and Barcode Checksums
Generate deterministic identifiers, random bytes, integers, strings, passwords, and barcode values. Calculate check digits and GMN check characters.
- Convert Text to Links with Linkify
Convert detected URLs, email addresses, phone numbers, mentions, hashtags, and map locations to HTML or Markdown links.
- Normalize and Shorten Text
Normalize whitespace and line breaks, extract text around a marker, and shorten multibyte strings.
- Generate and Validate ULIDs
Generate sortable, 26-character identifiers and check their format.
- Generate and Validate UUIDs
Generate UUID versions 1, 3, 4, 5, and 7. Inspect the version, validate the structure, and optionally check timestamps or name-based values.
- Format Phone Numbers, Domains, and Input Strings
Format phone numbers, extract host labels, compact PHP array syntax, and validate or filter input strings by type.
- Mask Values for Display
Hide portions of strings, email addresses, phone numbers, and card numbers before displaying them.
- Validating Common Value Formats
Check deterministic identifiers, email addresses, URLs, phone values, binary data, check digits, integers, and geographic coordinates.
- Compare Version Numbers and Constraints
Compare numeric versions and check whether a version satisfies one or more constraints.
- Store a Value with the WeakReference Utility
Store, replace, or read a value through a reusable wrapper.