PHPackages                             hypejunction/hypecountries - 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. hypejunction/hypecountries

AbandonedArchivedElgg-plugin[Utility &amp; Helpers](/categories/utility)

hypejunction/hypecountries
==========================

Countries for Elgg

2.1.3(7y ago)121proprietaryPHP

Since Dec 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hypeJunction/Elgg3-hypeCountries)[ Packagist](https://packagist.org/packages/hypejunction/hypecountries)[ Docs](http://hypejunction.com)[ RSS](/packages/hypejunction-hypecountries/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (1)Versions (9)Used By (0)

hypeCountries
=============

[](#hypecountries)

[![Elgg 3.0](https://camo.githubusercontent.com/e646ef90c665819eef06372ac1af176270e4db7642e8c52976072bca821b1694/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d332e302d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/e646ef90c665819eef06372ac1af176270e4db7642e8c52976072bca821b1694/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d332e302d6f72616e67652e7376673f7374796c653d666c61742d737175617265)

Country utilities

Features
--------

[](#features)

- Country info, including name, ISO, ISO-3, ISO numeric, FIPS, TLD, currency code, postal code format and other
- Country input view

Usage
-----

[](#usage)

### Country select

[](#country-select)

```
echo elgg_view('input/country', array(
	'name' => 'country',
	'value' => 'CZ',
));
```

### List countries

[](#list-countries)

```
$countries = elgg()->countries->getCountries();
foreach ($countries as $country) {
	/* @var $country \hypeJunction\Country */
	echo "$country->name ($country->iso)";
}
```

### Country info

[](#country-info)

Get a list of countries with extended details

```
$fields = array(
	'name',
	'iso',
	'iso3',
	//'iso_numeric',
	//'fips',
	'capital',
	//'area',
	//'population',
	//'continent',
	'tld',
	'currency_code',
	'currency_name',
	'phone_code',
	'postal_code_format',
	'postal_code_regex',
	'languages',
	//'geoname_id',
	'neighbours'
);

// Get a list of countries ordered by currency_code
$countries = elgg_get_country_info($fields, 'currency_code');
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~136 days

Recently: every ~30 days

Total

8

Last Release

2902d ago

Major Versions

1.1.0 → 2.0.02018-03-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/5071b1cd852e094b3f564962a625e04c227adc73af30c5b46b243ab8f20154a7?d=identicon)[hypeJunction](/maintainers/hypeJunction)

---

Top Contributors

[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (23 commits)")

---

Tags

pluginelggcountries

### Embed Badge

![Health badge](/badges/hypejunction-hypecountries/health.svg)

```
[![Health](https://phpackages.com/badges/hypejunction-hypecountries/health.svg)](https://phpackages.com/packages/hypejunction-hypecountries)
```

###  Alternatives

[coldtrick/group_tools

Combines different group additions into one plugin

305.2k](/packages/coldtrick-group-tools)[coldtrick/profile_manager

Improved management of user and group profile fields

293.8k1](/packages/coldtrick-profile-manager)[coldtrick/widget_manager

Manage your widgets

214.4k](/packages/coldtrick-widget-manager)[coldtrick/thewire_tools

Extend the functionality of The Wire

133.2k](/packages/coldtrick-thewire-tools)

PHPackages © 2026

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