PHPackages                             psicologiaymente/cloudflare-geoip - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. psicologiaymente/cloudflare-geoip

Abandoned → [palauaandsons/cloudflare-geoip](/?search=palauaandsons%2Fcloudflare-geoip)Library[Utility &amp; Helpers](/categories/utility)

psicologiaymente/cloudflare-geoip
=================================

Cloudflare GeoIP helper with Laravel

1.2.1(2y ago)23.4k↓33.3%MITPHP

Since Nov 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/psicologiaymente/cloudflare-geoip)[ Packagist](https://packagist.org/packages/psicologiaymente/cloudflare-geoip)[ RSS](/packages/psicologiaymente-cloudflare-geoip/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

Cloudflare GeoIp for Laravel.
=============================

[](#cloudflare-geoip-for-laravel)

Get the geographical localtion of visitor based off Cloudflare headers.

### Installation

[](#installation)

```
composer require psicologiaymente/cloudflare-geoip
```

#### Configuration

[](#configuration)

Run the following command to publish configuration. Be sure to modify the configuration file specifically the default location to use if the cloudflare headers are absent.

```
php artisan vendor:publish --tag=cloudflare-geoip-config
```

#### Usage

[](#usage)

```
