PHPackages                             technicalguru/i18n - 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. technicalguru/i18n

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

technicalguru/i18n
==================

Provides localization features for PHP apps

v1.0.6(5y ago)06.6k2LGPL-3.0-or-laterPHPPHP &gt;=7.0.0

Since Nov 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/technicalguru/php-i18n)[ Packagist](https://packagist.org/packages/technicalguru/i18n)[ RSS](/packages/technicalguru-i18n/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (2)

php-i18n
========

[](#php-i18n)

Provides localization features for PHP apps. It reads a local i18n file for your application and provides localized values for keys.

License
=======

[](#license)

This project is licensed under [GNU LGPL 3.0](LICENSE.md).

Installation
============

[](#installation)

By Composer
-----------

[](#by-composer)

```
composer install technicalguru/i18n

```

By Package Download
-------------------

[](#by-package-download)

You can download the source code packages from [GitHub Release Page](https://github.com/technicalguru/php-i18n/releases)

How to use
==========

[](#how-to-use)

Create a localization file
--------------------------

[](#create-a-localization-file)

Create a file `i18n.php` somewhere where it can be accessed from your application.

```
