e() - HTML Escape
Input: <script>alert("XSS")</script>
Output: <script>alert("XSS")</script>
Escapes unsafe characters to prevent XSS.
url() - URL Generation
url('/request'): http://php.homelab.sacha.house/request
url('/api/users'): http://php.homelab.sacha.house/api/users
date() - Date Formatting
Timestamp: 1765822113
Default: 2025-12-15 18:08:33
Custom (Y-m-d): 2025-12-15
String: 2024-01-15 14:30:00
Formatted: January 15, 2024
truncate() - String Truncation
Original: This is a very long text that needs to be truncated to demonstrate the truncate helper function.
30 chars: This is a very long text that ...
50 chars: This is a very long text that needs to be truncate...