bombenprodukt/laravel-geoip2

A package to easily use GeoIP2 with Laravel.


README

This project was created by, and is maintained by Brian Faust, and is a package to easily use GeoIP2 with Laravel. Be sure to browse through the changelog, code of conduct, contribution guidelines, license, and security policy.

Installation

Note This package requires PHP 8.2 or later, and it supports Laravel 10 or later.

To get the latest version, simply require the project using Composer:

$ composer require faustbrian/laravel-geoip2

You can publish the configuration file by using:

$ php artisan vendor:publish --tag="laravel-geoip2-config"

Usage

Please review the contents of our test suite for detailed usage examples.