All notable changes to ipinfolaravel
will be documented in this file.
- Updated default cache in latest IPinfo PHP package. Now uses
symfony/cache
.
- Added support for Laravel 10 with latest IPinfo PHP package.
- Added support for a custom IP selector function.
- Added support for Laravel 9 with latest IPinfo PHP package.
- Added the
no_except
config variable which allows suppressing exceptions that occur in the IPinfo middleware; the$request->ipinfo
object will benull
in this case.
- The IPinfo PHP SDK will no longer be initialized multiple times - one will be initialized at application startup and used throughout.
- Use v2.1.1 of PHP SDK (https://github.com/ipinfo/php/releases/tag/v2.1.1).
- Update to the latest IPinfo PHP package, which supports PHP 8 and deprecates PHP 7.2 support.
- Supports Laravel 5.x to 8.x.
- The
ipinfo
object on the request object is not accessible via input, e.g.$request->input('ipinfo')->ip
; you must use$request->ipinfo->ip
, etc. - The IP for which data is retrieved is now correctly the client IP, and not the server IP.
- Everything