Download the PHP package bkhim/laravel-geolocation without Composer

On this page you can find all versions of the php package bkhim/laravel-geolocation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-geolocation

Laravel Geolocation

The complete global app toolkit for Laravel.
Detect location, personalize experiences, prevent fraud, and secure logins — all in one package.

Latest Version Total Downloads Tests Stable License


One Package. Everything You Need for a Global App.

Feature What It Does
Location Detection City, region, country, coordinates from any IP — 6 providers
Timezone Management Auto-detect and convert times to user's local timezone
Currency Detection Show prices in user's local currency and format
Fraud Prevention Proxy/VPN/Tor detection, risk scoring, threat intelligence
Login Security Track logins, detect new countries/cities, trigger MFA
Geo-Blocking Allow/deny countries and continents via middleware
GDPR and Privacy IP anonymization, consent management, data pruning

Trusted By Developers

View on Packagist · Report Issues · Star on GitHub


One Line of Code

Security Built In (Not Bolted On)


6 Providers. One API.

Provider Free Tier Fraud Score Proxy Detection
ipapi.co 30k/mo No Yes
IP2Location.io 50k/mo Yes Yes
IpInfo Unlimited* No No
MaxMind Unlimited No No
IPStack 100/mo No No
IPGeolocation 1k/mo Yes Yes

*IpInfo Lite: country only

Compare all providers


Quick Install


Use Cases

Use Case How It Helps
Global SaaS Auto-detect timezone, currency, locale for each user
Login Security MFA triggers on new locations, block proxies/VPNs
E-commerce Local currency, geo-blocking, shipping zone detection
Analytics Visitor country/city tracking without a third-party service
Fraud Prevention Risk scoring, impossible travel detection, IP blocklisting

Documentation


Built for Laravel 10-13 | PHP 8.2+ | MIT License


All versions of laravel-geolocation with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-openssl Version *
illuminate/support Version ^12.0|^13.0
guzzlehttp/guzzle Version ^7.5
geoip2/geoip2 Version ^v3.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bkhim/laravel-geolocation contains the following files

Loading the files please wait ...