location

Detect a users location by their IP Address.

MIT License

Downloads
4.3M
Stars
1.1K
Committers
26

Bot releases are visible (Hide)

location - v6.2.0

Published by stevebauman about 3 years ago

Added

  • IpData driver - c7eb8f3...15de260 - #96 -thanks to @Rijoanul-Shanto 🎉
location - v6.1.0

Published by stevebauman over 3 years ago

Changed

  • GeoIP version requirement from v2.8.0 to ^v2.0 - #91
location - v6.0.0

Published by stevebauman almost 4 years ago

Changed

  • Actually require PHP 7.0 as mentioned in the readme
  • Stevebauman\Location\Location instance uses Laravel's config Repository instance instead of config() helper

Added

  • Compatibility with Lumen
  • Construct drivers using Laravel's IoC to allow usage of application dependencies in constructor
location - v5.2.0

Published by stevebauman about 4 years ago

Added

  • Laravel 8.0 support - 0246472 - #83
  • Adjusted default curl timeouts for faster response time - 8729944 - #80
location - v5.1.0

Published by stevebauman over 4 years ago

Added

  • Ability to customize Position instance created and returned by drivers via configuration - 668fff3 - #74
location - v5.0.2

Published by stevebauman over 4 years ago

Added

  • Laravel 7.0 support
location - v5.0.1

Published by stevebauman almost 5 years ago

Fixed

  • Invalid configuration path for IpApiPro - #65 - Thanks to @callumMcComisky
location - v5.0.0

Published by stevebauman about 5 years ago

Changed

  • $ip parameter to Driver::url() method to allow easier URL building - 1008328

Added

  • IpApiPro driver - 14e19b9
  • ip public property to returned Position objects - 6369091
  • isoCode is now set when using the MaxMind driver - 1924c29
location - v4.0.1

Published by stevebauman about 5 years ago

Added

  • Location facade method annotations (get() & setDriver()) - 08f20e9
  • isEmpty() method to Position class - 0f38b93
  • Position now implements the Illuminate\Contracts\Support\Arrayable interface for the toArray() method - 0957049

Changed

  • All Position attributes are now null by default instead of empty strings - 4edf26a

Fixed

  • Drivers that return empty JSON responses will now fallback to another driver - edab47d
  • Drivers that return an empty Position will now fallback to another driver - edab47d
location - v4.0.0

Published by stevebauman about 5 years ago

Added

  • Laravel 6.0 support - cd24972 - #62
  • IpInfo premium support via token in configuration file - 4deb0da - #56

Changed

  • Removed FreeGeoIp driver (no longer online) - c900d44 - #51, #55
location - v3.0.1

Published by stevebauman over 6 years ago

Fixed

  • Fallback drivers not being called properly - 5dc72ec - #35, #45
location - v3.0.0

Published by stevebauman over 6 years ago

Fixed

  • Calling Location::get() will now always request a new location, not from session

Removed

  • Locations are no longer stored in session. You will now need to cache locations manually
location - v2.0.1

Published by stevebauman over 7 years ago

  • Small formatting tweaks.
location - v2.0.0

Published by stevebauman about 8 years ago

  • Rebuilt. Please view the readme for more information.
location -

Published by stevebauman almost 9 years ago

location - Small changes

Published by stevebauman almost 9 years ago

location -

Published by stevebauman almost 9 years ago

  • Fixed #23
  • Removed Telize driver due to public API being shutdown
location -

Published by stevebauman about 9 years ago

location - Location binding

Published by stevebauman about 9 years ago

  • Bind location instance in service provider boot method instead of register
location - Laravel 5 only, lot's of fixes and tweaks

Published by stevebauman about 9 years ago

  • Service provider is now Laravel 5 only
  • Tweaked layouts, comments, and some other small things