Module
- D10: stable release
- D11: stable release
- D12: stable release
Country Block
This module allows site administrators to block access to their Drupal site based on the user's country of origin. It uses the Smart IP module to determine the user's location from their IP address. If a user is visiting from a country on the blocklist, they will be denied access and shown a configu
drupal.org
composer require drupal/country_block58 out of 100
Watch
Depends on one person.
- Sites
- 17
- Latest release
- 8 weeks ago
- Contributors (12 months)
- 1
- Open bugs
- 0
Why 58?
How scores work →Scored for choosing for a business. Each part is out of 100.
- Adoption
- 17 sites
- 0
- Activity
- Last release 8 weeks ago; 6 releases this year
- 57
- Community
- 1 maintainer can publish fixes; 1 person contributed this year
- 33
- Health
- 0 open bugs, 0 serious; 0 finished fixes waiting
- 100
- Readiness
- Drupal 10, 11 and 12 · security team coverage · stable 1.0.5
- 100
- +2 Latest stable release supports Drupal 12
Usage
Reported Drupal 8+ sites per week, last two years.
Releases
- Latest release
- 1.0.5 (8 weeks ago)
- Latest stable
- 1.0.5
- Releases in the last 12 months
- 6
- Security releases (all time)
- 0
- First Drupal 8+ release
- 10 months ago
All metrics · harvested 2026-11-24
| active_branches_12m | 1.0.x, main, master |
|---|---|
| active_weeks_12m | 3 |
| any_release_d10 | true |
| any_release_d11 | true |
| any_release_d12 | true |
| bugs_critical_open | 0 |
| bugs_open | 0 |
| bugs_opened_12m | 0 |
| bus_factor_80 | 1 |
| categories | Access control |
| changed | 1790760147 |
| commit_authors_12m | 1 |
| commits_12m | 13 |
| commits_90d | 2 |
| commits_truncated | false |
| composer_version | 1.0.5 |
| contributors_12m | 1 |
| core_constraint | ^10.1 || ^11 || ^12 |
| created | 1770457973 |
| default_branch | main |
| dependencies | drupal/smart_ip |
| development_status | Maintenance fixes only |
| first_release_date | 1770458661 |
| forks | 1 |
| gitlab_id | 203613 |
| harvested_at | 1795482175 |
| has_issue_queue | true |
| issue_source | drupal.org |
| issues_flow_truncated | false |
| issues_needs_review | 0 |
| issues_open | 0 |
| issues_opened_12m | 1 |
| issues_opened_12m_closed_other | 0 |
| issues_opened_12m_fixed | 1 |
| issues_rtbc | 0 |
| issues_total | 1 |
| kind | module |
| last_activity_at | 2026-10-21T07:08:19.255Z |
| latest_release_date | 1790760257 |
| latest_stable_date | 1790760257 |
| latest_stable_version | 1.0.5 |
| latest_supports_d10 | true |
| latest_supports_d11 | true |
| latest_supports_d12 | true |
| latest_version | 1.0.5 |
| maintainer_names | ruslan piskarov |
| maintainers | 1 |
| maintainers_release | 1 |
| maintainers_vcs | 1 |
| maintenance_status | Minimally maintained |
| mrs_merged_12m | 1 |
| mrs_open | 0 |
| name | country_block |
| nid | 3572104 |
| php_constraint | – |
| project_type | full |
| release_count | 6 |
| releases_12m | 6 |
| replaced_by | false |
| security_coverage | covered |
| security_releases | 0 |
| stars | 0 |
| summary | This module allows site administrators to block access to their Drupal site based on the user's country of origin. It uses the Smart IP module to determine the user's location from their IP address. If a user is visiting from a country on the blocklist, they will be denied access and shown a configu |
| title | Country Block |
| url | https://www.drupal.org/project/country_block |
| usage_d8plus | 17 |
| usage_d8plus_4w_avg | 17 |
| usage_d8plus_4w_avg_12m_ago | – |
| usage_d8plus_4w_avg_6m_ago | 5 |
| usage_d8plus_peak | 18 |
| usage_d8plus_peak_week | 2026-10-24 |
| usage_growth_12m_pct | – |
| usage_growth_6m_pct | – |
| usage_on_latest_release | 13 |
| usage_on_latest_release_pct | 76.5 |
| usage_pct_of_peak | 94.4 |
| usage_total | 17 |
| usage_weeks_reported | 41 |