Utility
This section documents shared utilities, algorithms, and services used across the application. Understanding these will help you navigate the codebase and follow established patterns.
Core
Core services provide foundational system checks and algorithms used across the entire application. These are the building blocks that other services depend on.
| Page | Description |
|---|---|
| Identifier Setup | Centralized state checks — isSetup(), seeder(), initial() |
| Location | Geographic location services and country detection |
| Assistant | Chatbot and NLP pipeline with intent matching |
Transform
Transform utilities handle data conversion and normalization — transforming raw data into standardized formats for storage and display.
| Page | Description |
|---|---|
| Asset | File and media storage abstraction (local disk, ImageKit) |
| Localization | Multi-language field handling via HasLocalization trait |
| Contact | Encrypted contact storage via HasContact trait |
Generate
Generate services produce output artifacts — codes, tokens, and barcodes used across the system.
| Page | Description |
|---|---|
| OTP | One-time password generation and verification |
| Codegen | Barcode and QR code generation |
Audit
Audit utilities provide tracking, logging, and observability — recording who did what and when.
| Page | Description |
|---|---|
| Log | Automatic activity logging via HasLog trait |
Each utility follows a consistent interface pattern. Read the individual pages for method signatures and usage examples.