you have a line where you are getting the IP from the _SERVER https://github.com/dotkernel/dotkernel.com/pull/276/changes#diff-85852eb1dd35b6c67598af5a7d5699355c855845a86fd350ab22cd657dfd0713R45 let's implement this middleware in order to properly detect the IP https://github.com/akrabat/ip-address-middleware
Activity
arhimede commentedon Oct 14, 2026
$ip = $request->getServerParams()['REMOTE_ADDR'] ?? null;with a proper IP detection from akrabat's packages