PHPackages                             pessek/pessek\_countries - 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. pessek/pessek\_countries

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

pessek/pessek\_countries
========================

Countries for Elgg

v4.0(4y ago)02proprietaryPHP

Since Oct 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rheman/pessek_countries)[ Packagist](https://packagist.org/packages/pessek/pessek_countries)[ RSS](/packages/pessek-pessek-countries/feed)WikiDiscussions main Synced yesterday

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

Piwal Countries
===============

[](#piwal-countries)

[![Elgg 4.0](https://camo.githubusercontent.com/b1d01246e0107a41c37e5a81857f07c8eef37b85e910c4ff09f8bad002634eb5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d342e302d677265656e2e737667)](https://camo.githubusercontent.com/b1d01246e0107a41c37e5a81857f07c8eef37b85e910c4ff09f8bad002634eb5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d342e302d677265656e2e737667)

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');
```

pessek\_countries
=================

[](#pessek_countries)

pessek\_countries
=================

[](#pessek_countries-1)

pessek\_countries
=================

[](#pessek_countries-2)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1669d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/649b17479d3b3a91bcdbbd05d56d9c55a33e095c8c4412ba6a34fa43bd3aff46?d=identicon)[rhemandaddy](/maintainers/rhemandaddy)

---

Tags

pluginelggcountries

### Embed Badge

![Health badge](/badges/pessek-pessek-countries/health.svg)

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

PHPackages © 2026

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