PHPackages                             fabiang/laminas-localize-helper - 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. fabiang/laminas-localize-helper

ActiveLibrary[Localization &amp; i18n](/categories/localization)

fabiang/laminas-localize-helper
===============================

Laminas module for setting locale to all view helpers, validators and filters

v2.2.0(3mo ago)1343BSD-2-ClausePHPPHP &gt;=8.1,&lt;8.6CI passing

Since Mar 14Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/fabiang/laminas-localize-helper)[ Packagist](https://packagist.org/packages/fabiang/laminas-localize-helper)[ RSS](/packages/fabiang-laminas-localize-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (14)Versions (5)Used By (0)

Laminas Localize helper
=======================

[](#laminas-localize-helper)

Initializer that passes your configured locale to all view helpers, validators and filters, so you don't have to do this every time.

[![Continuous Integration](https://github.com/fabiang/laminas-localize-helper/actions/workflows/ci.yml/badge.svg)](https://github.com/fabiang/laminas-localize-helper/actions/workflows/ci.yml)[![Latest Stable Version](https://camo.githubusercontent.com/1455c6cc8dc87a038edc0a75969ccc6400d0192eafa3ad2b99eb60a032bd5f1e/68747470733a2f2f706f7365722e707567782e6f72672f66616269616e672f6c616d696e61732d6c6f63616c697a652d68656c7065722f76657273696f6e)](https://packagist.org/packages/fabiang/laminas-localize-helper)[![License](https://camo.githubusercontent.com/51e051746b79a1ce6b1064722b3780f5e3d63a4aaa9302b7bc7a9b1105cc4059/68747470733a2f2f706f7365722e707567782e6f72672f66616269616e672f6c616d696e61732d6c6f63616c697a652d68656c7065722f6c6963656e7365)](https://packagist.org/packages/fabiang/laminas-localize-helper)

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

[](#installation)

Run the following `composer` command:

```
$ composer require fabiang/laminas-localize-helper
```

Configuration
-------------

[](#configuration)

Put the following into your plugin managers config (e.g. `config/autoload/i18n.global.php`):

```
