PHPackages                             serieseight/country-detect - 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. serieseight/country-detect

AbandonedArchivedCraft-plugin

serieseight/country-detect
==========================

Country detect plugin for Craft CMS ^3.0.

1.0.1(7y ago)22.1k1[1 issues](https://github.com/serieseight/country-detect/issues)[1 PRs](https://github.com/serieseight/country-detect/pulls)MITPHP

Since Aug 8Pushed 5y ago2 watchersCompare

[ Source](https://github.com/serieseight/country-detect)[ Packagist](https://packagist.org/packages/serieseight/country-detect)[ RSS](/packages/serieseight-country-detect/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

[![](https://camo.githubusercontent.com/dba0f1ac351ed6576646e6c55d0a793d02d28dba928e506e0df30003e3a6ec51/68747470733a2f2f73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f706c7567696e2d69636f6e732e6372616674636d732f636f756e7472792d6465746563742e7376673f31353333373138323634)](https://camo.githubusercontent.com/dba0f1ac351ed6576646e6c55d0a793d02d28dba928e506e0df30003e3a6ec51/68747470733a2f2f73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f706c7567696e2d69636f6e732e6372616674636d732f636f756e7472792d6465746563742e7376673f31353333373138323634)

Country Detect plugin for Craft CMS 3.x
=======================================

[](#country-detect-plugin-for-craft-cms-3x)

Country detect plugin for Craft CMS 3.x. For Country Detect to work, your website must be going through Cloudflare. On your domain's settings screen go to Network and ensure IP Geolocation is turned on.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require serieseight/country-detect

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Country Detect.

Usage
-----

[](#usage)

`{{ craft.countryDetect.country }}`

Built by [Series Eight](https://serieseight.com/).

Based on [Country Detect](https://github.com/madebymutual/Country-Detect) by [Mutual](https://github.com/madebymutual).

---

[![](resources/img/plugin-logo.png)](https://serieseight.com)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2832d ago

Major Versions

0.1 → 1.0.12018-08-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/7cb968a7ad970558a30430916a47a8ab12790028c12a394aef32a0cccb8b1bee?d=identicon)[serieseight](/maintainers/serieseight)

---

Top Contributors

[![mariovass](https://avatars.githubusercontent.com/u/3165071?v=4)](https://github.com/mariovass "mariovass (6 commits)")[![maestro9](https://avatars.githubusercontent.com/u/7260076?v=4)](https://github.com/maestro9 "maestro9 (5 commits)")

---

Tags

cloudflarecloudflare-apicraftcmscraftcms-plugincraftcms3locationcmsCraftcraftcmscraft-plugincountry detect

### Embed Badge

![Health badge](/badges/serieseight-country-detect/health.svg)

```
[![Health](https://phpackages.com/badges/serieseight-country-detect/health.svg)](https://phpackages.com/packages/serieseight-country-detect)
```

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[verbb/hyper

A user-friendly links field for Craft.

24130.9k9](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
