All Notable changes to laravel-visits
will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
- Rewrites huge part of the package to support multiple data engines.
- Adds database's data engine support (Eloquent).
- Global ignore feature (can be enabled from config/visits.php)
- Parameter signature of methods increment/decrement/forceIncrement/forceDecrement has changed.
//old
increment($inc = 1, $force = false, $periods = true, $country = true, $refer = true)
//new
increment($inc = 1, $force = false, $ignore = [])
//old
forceIncrement($inc = 1, $periods = true)
//new
forceIncrement($inc = 1, $ignore = [])
- Now you can get visitors OSes and browser's languages
- Replace Laravel array/string helpers with clasess as they were deperecated in recent versions.