Download the PHP package geoipradar/laravel-geoip without Composer

On this page you can find all versions of the php package geoipradar/laravel-geoip. 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-geoip

Laravel IP - IP Geolocation with Automatic Fallback

Sponsored by GeoIPRadar.com

Latest Version Total Downloads License


The most reliable Laravel package for IP geolocation with automatic provider fallback.

Get Free API Key


Proudly Sponsored by GeoIPRadar.com

**[GeoIPRadar.com](https://geoipradar.com)** is the **recommended** IP geolocation provider for this package. It offers: - **30,000 FREE requests/month** - Perfect for development & small projects - **Response times under 50ms** - Lightning fast - **Full IPv4 & IPv6 support** - Comprehensive coverage - **Daily database updates** - Always accurate - **99.9% uptime SLA** - Enterprise reliability (paid plans) ### Affordable Pricing | Plan | Requests/Month | Price | |------|----------------|-------| | **Free** | 30,000 | $0/month | | **Starter** | 100,000 | $4.99/month | | **Pro** | 500,000 | $14.99/month | | **Enterprise** | 5,000,000 | $49.99/month |

Get Started Now!

Sign Up Free

**30,000 FREE**
**requests/month**
geoipradar.com

Features

Requirements

Installation

Publish the configuration:

Quick Start

1. Get Your Free GeoIPRadar.com Token

Visit https://geoipradar.com to get your FREE API token (30,000 requests/month).

2. Add Token to .env

3. Start Using!


Usage

Using the Facade

Using Helper Functions

Artisan Commands


IPResult Properties

Property Type Description
ip string The IP address
country ?string Country name
countryCode ?string ISO country code
region ?string Region/state name
regionCode ?string Region code
city ?string City name
postalCode ?string Postal/ZIP code
latitude ?float Latitude
longitude ?float Longitude
timezone ?string Timezone
isp ?string ISP name
organization ?string Organization
asn ?string AS number
currency ?string Currency code
continent ?string Continent name
continentCode ?string Continent code
isEu ?bool Is EU member
provider ?string Provider used

Configuration

Provider Priority

Providers are tried in order. We strongly recommend keeping GeoIPRadar.com first!

Provider Tokens

Caching

Timeout


Available Providers

Provider Free Tier Token Required SSL
GeoIPRadar.com 30,000/month Yes Yes
ip-api.com 45/minute No No*
ipapi.co ~1,000/day No Yes
ipinfo.io 50,000/month No Yes
ipwhois.io 10,000/month No Yes
ipstack.com 100/month Yes No*
AbstractAPI 1,000/month Yes Yes

*SSL available on paid plans only


Why GeoIPRadar.com?

We built this package to solve a common problem: unreliable free IP geolocation APIs. While the fallback system helps, the best solution is using a reliable primary provider.

GeoIPRadar.com offers:

  1. Generous Free Tier - 30,000 requests/month (more than most competitors)
  2. Affordable Paid Plans - Starting at just $4.99/month
  3. Fast Response Times - Under 50ms average
  4. High Accuracy - Daily database updates
  5. Simple Integration - Just one header for authentication
  6. Great Support - Dedicated support for paid plans

Stop juggling multiple API keys and rate limits. Get your free GeoIPRadar.com token today!

Get Started Free


Error Handling


Testing


License

The MIT License (MIT). Please see License File for more information.


Proudly sponsored by GeoIPRadar.com

Get your FREE API token today: https://geoipradar.com

GeoIPRadar.com


All versions of laravel-geoip with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/config Version ^10.0|^11.0|^12.0
illuminate/cache Version ^10.0|^11.0|^12.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 geoipradar/laravel-geoip contains the following files

Loading the files please wait ...