PHPackages                             et-innovations/silverstripe-localcurrency - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. et-innovations/silverstripe-localcurrency

ActiveSilverstripe-module[Localization &amp; i18n](/categories/localization)

et-innovations/silverstripe-localcurrency
=========================================

localized currencies

00PHPCI failing

Since Mar 28Pushed 4y ago2 watchersCompare

[ Source](https://github.com/et-innovations/silverstripe-localcurrency)[ Packagist](https://packagist.org/packages/et-innovations/silverstripe-localcurrency)[ RSS](/packages/et-innovations-silverstripe-localcurrency/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

silverstripe-localcurrency
==========================

[](#silverstripe-localcurrency)

Translatable fieldtypes for:

- Currency

Maintainer Contact
------------------

[](#maintainer-contact)

- Hernold Koch

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

[](#requirements)

- SilverStripe 3.0

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

[](#installation)

Install via composer `composer require et-innovations/silverstripe-localcurrency`or extract the contents of this repository into the root-folder of your project.

Usage Overview
--------------

[](#usage-overview)

Simply create the wished field in the array `$db`:

```
class MyDataObject extends DataObject {

	public static $db = array(
		'SomeCurrencyField' => "LocalCurrency",
	);

}

```

To get translated value in GridField, you need to declare a function with the same name as the field and return the value as wished:

```
class MyDataObject extends DataObject {

	...

	public function SomeCurrencyField() {
		if($this->{__FUNCTION__})
			return DBField::create_field('LocalCurrency', $this->{__FUNCTION__})->Nice();
	}

}

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/74477aaa40ad5c23ecf1d865a423182de9d6957ca20944f275fe4d95f044adfa?d=identicon)[ChristophRieger](/maintainers/ChristophRieger)

---

Top Contributors

[![hkoch-et](https://avatars.githubusercontent.com/u/14055741?v=4)](https://github.com/hkoch-et "hkoch-et (3 commits)")[![ChristophRieger](https://avatars.githubusercontent.com/u/87366450?v=4)](https://github.com/ChristophRieger "ChristophRieger (2 commits)")

### Embed Badge

![Health badge](/badges/et-innovations-silverstripe-localcurrency/health.svg)

```
[![Health](https://phpackages.com/badges/et-innovations-silverstripe-localcurrency/health.svg)](https://phpackages.com/packages/et-innovations-silverstripe-localcurrency)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

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