PHPackages                             arslanimamutdinov/iso-standard-4217 - 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. arslanimamutdinov/iso-standard-4217

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arslanimamutdinov/iso-standard-4217
===================================

v1.0.0(4y ago)01.9k1MITPHP

Since Mar 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/arslanim/iso-standard-4217)[ Packagist](https://packagist.org/packages/arslanimamutdinov/iso-standard-4217)[ RSS](/packages/arslanimamutdinov-iso-standard-4217/feed)WikiDiscussions main Synced 2d ago

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

ISO 4217 standard utilities
===========================

[](#iso-4217-standard-utilities)

[![Code Coverage Badge](./badge.svg)](./badge.svg)

This component provides features for ISO 4217 standard - get currency codes according to standard.

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

[](#installation)

```
composer require arslanimamutdinov/iso-standard-4217
```

Terms and designations
----------------------

[](#terms-and-designations)

- alpha3 - three-letter currency code e.g. RUB;
- numericCodes - numeric currency code e.g. 643;
- name - string currency name e.g. Russian ruble.

Component parts description
---------------------------

[](#component-parts-description)

Currency - ISO 4217 standard model, contains properties:

- name - currency name;
- alpha3 - currency alpha3 code;
- numericCode - currency numeric code.

ISO4217 - abstract class provides set of static function for working with ISO 4217 standard.

ISO4217Utility - service class wrapper over ISO4217 (need instantiate class object).

Base component features
-----------------------

[](#base-component-features)

### ISO4217 features

[](#iso4217-features)

Provides access to currency standard by alpha3-named static function.

For example:

```
// returns instance of Currency class
// includes currency data for United Arab Emirates dirham
ISO4217::AED();
```

Provides access to currency raw data.

For example:

```
ISO4217::getRawStandardsData();
```

Provides search standards by given currency alpha3 codes.

For example:

```
// returns Currency[]
ISO4217::getAllByAlpha3Codes(['AED', 'GBP']);
```

Provides search standards by given currency numeric codes.

For example:

```
// returns Currency[]
ISO4217::getAllByNumericCodes(['784', '826']);
```

Provides search standards by given currency alpha3 code.

For example:

```
// returns Currency or null if not found
ISO4217::getByAlpha3('AED');
```

Provides search standards by given currency numeric code.

For example:

```
// returns Currency or null if not found
ISO4217::getByNumericCode('784');
```

Provides access to all currency standards represented in array of Currency objects.

For example:

```
// returns Currency[]
ISO4217::getAll();
```

### ISO4217Utility features

[](#iso4217utility-features)

Provides all features from ISO4217 but with utility instance creation.

For example:

```
$currencyUtility = new ISO4217Utility();

$currencyUtility->AED();
```

Contributing
------------

[](#contributing)

Welcome to pull requests. If there is a major changes, first please open an issue for discussion.

Please make sure to update tests as appropriate.

Source(s)
---------

[](#sources)

- [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) by [Wikipedia](http://www.wikipedia.org) licensed under [CC BY-SA 3.0 Unported License](http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License)
- [www.iso.org](http://www.iso.org)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.4% 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

Unknown

Total

1

Last Release

1513d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/81402dcd0a07ad550b7f80f5871e7c302770b29d4c73a52fc35ba697f702d56e?d=identicon)[arslanim](/maintainers/arslanim)

---

Top Contributors

[![arslanim](https://avatars.githubusercontent.com/u/22678154?v=4)](https://github.com/arslanim "arslanim (81 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (15 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/arslanimamutdinov-iso-standard-4217/health.svg)

```
[![Health](https://phpackages.com/badges/arslanimamutdinov-iso-standard-4217/health.svg)](https://phpackages.com/packages/arslanimamutdinov-iso-standard-4217)
```

###  Alternatives

[maksyutin/yii2-dual-list-box

Dual list box Widget for Yii 2

138.8k1](/packages/maksyutin-yii2-dual-list-box)[facile-it/php-codec

A partial porting of io-ts in PHP

106.7k](/packages/facile-it-php-codec)

PHPackages © 2026

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