php
php copied to clipboard
Official PHP library for IPinfo (IP geolocation and other types of IP data)
refactor some codes for readability in IPinfo.php file
When you retrieve an ipv6 via `getDetails` for example, it throws `Symfony\Component\Cache\Exception\InvalidArgumentException` `Cache key "xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx_v1" contains reserved characters "{}()/\@:".`
I am trying to retrieve my public IPv6 address but the getDetails() function, with $ip_address paramater set to null, only returns the IPv4 address. i have tried changing the const...
Fixes https://github.com/ipinfo/php/issues/70
https://github.com/CARLAARCHULETA01-GMAIL-COM/apacheaccessor/commit/9ccc0eaef396d2b3351eb6fcd7207045215c7864
https://github.com/ipinfo/php/commit/5da8869dc7350c977dbc7e399e55a1890fb507e5
It seems that it does not work with PHP 8.2+. Creating a dynamic property is deprecated. Deprecated: Creation of dynamic property ipinfo\ipinfo\Details::$carrier is deprecated in XXX/vendor/ipinfo/ipinfo/src/Details.php on line 40 PHP...