PHP Classes

ATK4 i18next PHP: Translate application texts like il8next-PHP

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 23 All time: 11,250 This week: 74Up
Version License PHP version Categories
atk4-i18next-php 1.0MIT/X Consortium ...7Localization, PHP 7
Collaborate with this project 

Author

atk4-i18next-php - github.com

Description

This package can Translate application texts like il8next-PHP.

It can provide localized texts for the use in the current page based on the URL of the HTTP request.

The locale text translations will be read from files stored in a given directory. If the files for the current language are missing, it can read the locale texts, from the default language texts.

Picture of Francesco Danti
  Performance   Level  
Name: Francesco Danti <contact>
Classes: 7 packages by
Country: Italy Italy
Age: 46
All time rank: 3468136 in Italy Italy
Week rank: 195 Up9 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

Documentation

PHP Language library

Based on i18next http://i18next.com

Interpolate direct with ATK4 - Agile Toolkit Models https://www.agiletoolkit.org/

Build Status Codacy Badge Codacy Badge Coverage Status StyleCI Maintainability Test Coverage

install with composer :

composer require abbadon1334/atk4-i18next-php

All documentation about the original library can be found here : http://i18next.com/

How to use :

$this->translator = new TranslatorMock();
$this->translator->setTranslationsPath(__DIR__.'/data/locales');

Define if filename will be used has namespace :

$this->translator->useFilenameAsNamespace(true);

Define primary and fallback language (name of the folders where library load files) :

$this->translator->setLanguagePrimary($language);
$this->translator->setLanguageFallback($fallback);

Add additional language :

$this->translator->addLanguage('it');

Translate :


interface TranslatorInterface
{
    /
     * Translates the given message.
     *
     * @param string      $key
     * @param array|null  $parameters Array of parameters used to translate message
     * @param string|null $context
     * @param string|null $locale     The locale or null to use the default
     *
     * @return string The translated string
     */
    public function _(string $key, ?array $parameters = null, ?string $context = null, ?string $locale = null): string;
}

// Usage

$result = $this->translator->_('definitionKey');

$result = $this->translator->_('definitionKey', ['param1' => 'test']);

$result = $this->translator->_('definitionKey', ['param1' => 'test'], 'context');

$result = $this->translator->_('definitionKey', ['param1' => 'test'], 'context', 'specificLanguage');

$result = $this->translator->_('namespace:definitionKey', ['param1' => 'test'], 'context', 'specificLanguage');

Support I18Next

http://i18next.com

  • [x] Read translations files from folder, every folder is a language code - [x] JSON - [ ] YAML - [ ] PHP Array
  • [ ] Write translations files to a folder, every folder is a language code - [ ] JSON - [ ] YAML - [ ] PHP Array
  • [x] Get a defined translation in primary language - [x] If not found try in fallback language - [x] If not found return original string
  • [x] Namespaces - [x] Get defined translation based on prioritized fallback namespaces
  • [x] Context as {key}_{context}
  • [x] Plurals - [x] Singular as {key} - [x] Plurals as {key}_plural - [x] Multiple plurals as {key}_{int $counter} - [x] Manage when $counter is bigger than max defined plurals - [x] Nested interpolate plurals - [x] Intervals
  • [x] Interpolate - [x] Replace {{key}} with defined $paramater value - [x] If {{key}} has a point like {{key.index}} and $parameters[index] is an array or object will retrive the value
  • [x] Nesting - [x] Basic - [x] Plurals
  • [ ] Formatting
  • [x] Adding Helper for use method Translator::_ as global functions __
  • [x] Adding Helper for use Translator as a global singleton instance
  • [ ] Collect missing requested keys
  • [ ] Adding Helper for search/collect calls to method Translator _ in code
  • [x] Added direct translations using key as translation

Support ATK4 - Agile Toolkit Model

https://www.agiletoolkit.org

  • [x] Interpolate with \atk4\data\Model

  Files folder image Files (468)  
File Role Description
Files folder imagedocs (11 files, 7 directories)
Files folder imagesrc (1 directory)
Files folder imagetests (17 files, 1 directory)
Accessible without login Plain text file .codeclimate.yml Data Auxiliary data
Accessible without login Plain text file .coveralls.yml Data Auxiliary data
Accessible without login Plain text file .phpdoc.xml Data Auxiliary data
Accessible without login Plain text file .phpmetrics.json Data Auxiliary data
Accessible without login Plain text file .php_cs.dist Example Example script
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file renovate.json Data Auxiliary data

  Files folder image Files (468)  /  docs  
File Role Description
Files folder imageapi (2 files, 4 directories)
Files folder imagecoverage (5 files, 7 directories)
Files folder imagemd (17 files)
Files folder imagemetrics (12 files, 4 directories)
Files folder imagesource (4 files, 1 directory)
Files folder image_sources (4 files, 3 directories)
Files folder image_static (22 files, 3 directories)
  Accessible without login Plain text file .buildinfo Data Auxiliary data
  Accessible without login HTML file genindex.html Doc. Documentation
  Accessible without login HTML file getting_started.html Doc. Documentation
  Accessible without login HTML file index-namespaces-all.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file make.bat Data Auxiliary data
  Accessible without login Plain text file Makefile Data Auxiliary data
  Accessible without login HTML file php-modindex.html Doc. Documentation
  Accessible without login HTML file search.html Doc. Documentation
  Accessible without login Plain text file searchindex.js Data Auxiliary data
  Accessible without login Plain text file structure.xml Data Auxiliary data

  Files folder image Files (468)  /  docs  /  api  
File Role Description
Files folder imageatk4 (1 directory)
Files folder imageGetting_started (1 file)
Files folder imagegetting_started (1 file)
Files folder imageI18Next (5 files, 3 directories)
  Accessible without login HTML file index-namespaces-all.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  api  /  atk4  
File Role Description
Files folder imagecore (28 files)

  Files folder image Files (468)  /  docs  /  api  /  atk4  /  core  
File Role Description
  Accessible without login HTML file AppScopeTrait.html Doc. Documentation
  Accessible without login HTML file AppUserNotificationInterface.html Doc. Documentation
  Accessible without login HTML file CollectionTrait.html Doc. Documentation
  Accessible without login HTML file ConfigTrait.html Doc. Documentation
  Accessible without login HTML file ContainerTrait.html Doc. Documentation
  Accessible without login HTML file DebugTrait.html Doc. Documentation
  Accessible without login HTML file DIContainerTrait.html Doc. Documentation
  Accessible without login HTML file DynamicMethodTrait.html Doc. Documentation
  Accessible without login HTML file Exception.html Doc. Documentation
  Accessible without login HTML file FactoryTrait.html Doc. Documentation
  Accessible without login HTML file HookBreaker.html Doc. Documentation
  Accessible without login HTML file HookTrait.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file InitializerTrait.html Doc. Documentation
  Accessible without login HTML file MultiContainerTrait.html Doc. Documentation
  Accessible without login HTML file NameTrait.html Doc. Documentation
  Accessible without login HTML file PHPUnit7_AgileExceptionWrapper.html Doc. Documentation
  Accessible without login HTML file PHPUnit7_AgileResultPrinter.html Doc. Documentation
  Accessible without login HTML file PHPUnit7_AgileTestCase.html Doc. Documentation
  Accessible without login HTML file PHPUnit_AgileExceptionWrapper.html Doc. Documentation
  Accessible without login HTML file PHPUnit_AgileResultPrinter.html Doc. Documentation
  Accessible without login HTML file PHPUnit_AgileTestCase.html Doc. Documentation
  Accessible without login HTML file PsyshE.html Doc. Documentation
  Accessible without login HTML file QuickExceptionTrait.html Doc. Documentation
  Accessible without login HTML file SessionTrait.html Doc. Documentation
  Accessible without login HTML file TrackableTrait.html Doc. Documentation
  Accessible without login HTML file TranslatableTrait.html Doc. Documentation
  Accessible without login HTML file TranslatorSymfonyTrait.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  api  /  Getting_started  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  api  /  getting_started  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  api  /  I18Next  
File Role Description
Files folder imageatk4 (2 files)
Files folder imageException (8 files)
Files folder imageLocale (3 files, 1 directory)
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file Locale.html Doc. Documentation
  Accessible without login HTML file Translator.html Doc. Documentation
  Accessible without login HTML file TranslatorInterface.html Doc. Documentation
  Accessible without login HTML file TranslatorStatic.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  api  /  I18Next  /  atk4  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file TranslatorI18NextTrait.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  api  /  I18Next  /  Exception  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file LanguageAlreadyPresent.html Doc. Documentation
  Accessible without login HTML file LanguageLocaleNotExists.html Doc. Documentation
  Accessible without login HTML file LanguageNamespaceMisuse.html Doc. Documentation
  Accessible without login HTML file LanguagePathNotDefined.html Doc. Documentation
  Accessible without login HTML file Misusage.html Doc. Documentation
  Accessible without login HTML file NotFoundKey.html Doc. Documentation
  Accessible without login HTML file TranslationSyntaxError.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  api  /  I18Next  /  Locale  
File Role Description
Files folder imageProcessor (4 files)
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file Processor.html Doc. Documentation
  Accessible without login HTML file Translations.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  api  /  I18Next  /  Locale  /  Processor  
File Role Description
  Accessible without login HTML file AbstractProcessor.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file Key.html Doc. Documentation
  Accessible without login HTML file Value.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  
File Role Description
Files folder imageatk4 (3 files, 1 directory)
Files folder imagecoverage (7 files, 6 directories)
Files folder imageException (8 files)
Files folder imageLocale (4 files, 1 directory)
Files folder image_css (4 files)
Files folder image_icons (2 files)
Files folder image_js (6 files)
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file Locale.php.html Doc. Documentation
  Accessible without login HTML file Translator.php.html Doc. Documentation
  Accessible without login HTML file TranslatorInterface.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  atk4  
File Role Description
Files folder imagecore (3 files)
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file TranslatorI18NextTrait.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  atk4  /  core  
File Role Description
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file MultiContainerTrait.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  coverage  
File Role Description
Files folder imageatk4 (3 files, 1 directory)
Files folder imageException (9 files)
Files folder imageLocale (4 files, 1 directory)
Files folder image_css (4 files)
Files folder image_icons (2 files)
Files folder image_js (6 files)
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file Locale.php.html Doc. Documentation
  Accessible without login HTML file Translator.php.html Doc. Documentation
  Accessible without login HTML file TranslatorInterface.php.html Doc. Documentation
  Accessible without login HTML file TranslatorStatic.php.html Doc. Documentation
  Accessible without login HTML file TranslatorStatic_functions.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  coverage  /  atk4  
File Role Description
Files folder imagecore (3 files)
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file TranslatorI18NextTrait.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  coverage  /  atk4  /  core  
File Role Description
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file MultiContainerTrait.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  coverage  /  Exception  
File Role Description
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file LanguageAlreadyPresent.php.html Doc. Documentation
  Accessible without login HTML file LanguageLocaleNotExists.php.html Doc. Documentation
  Accessible without login HTML file LanguageNamespaceMisuse.php.html Doc. Documentation
  Accessible without login HTML file LanguagePathNotDefined.php.html Doc. Documentation
  Accessible without login HTML file Misusage.php.html Doc. Documentation
  Accessible without login HTML file NotFoundKey.php.html Doc. Documentation
  Accessible without login HTML file TranslationSyntaxError.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  coverage  /  Locale  
File Role Description
Files folder imageProcessor (5 files)
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file Processor.php.html Doc. Documentation
  Accessible without login HTML file Translations.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  coverage  /  Locale  /  Processor  
File Role Description
  Accessible without login HTML file AbstractProcessor.php.html Doc. Documentation
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file Key.php.html Doc. Documentation
  Accessible without login HTML file Value.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  coverage  /  _css  
File Role Description
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data
  Accessible without login Plain text file nv.d3.min.css Data Auxiliary data
  Accessible without login Plain text file octicons.css Data Auxiliary data
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files (468)  /  docs  /  coverage  /  coverage  /  _icons  
File Role Description
  Accessible without login Plain text file file-code.svg Data Auxiliary data
  Accessible without login Plain text file file-directory.svg Data Auxiliary data

  Files folder image Files (468)  /  docs  /  coverage  /  coverage  /  _js  
File Role Description
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data
  Accessible without login Plain text file d3.min.js Data Auxiliary data
  Accessible without login Plain text file file.js Data Auxiliary data
  Accessible without login Plain text file jquery.min.js Data Auxiliary data
  Accessible without login Plain text file nv.d3.min.js Data Auxiliary data
  Accessible without login Plain text file popper.min.js Data Auxiliary data

  Files folder image Files (468)  /  docs  /  coverage  /  Exception  
File Role Description
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file LanguageAlreadyPresent.php.html Doc. Documentation
  Accessible without login HTML file LanguageLocaleNotExists.php.html Doc. Documentation
  Accessible without login HTML file LanguageNamespaceMisuse.php.html Doc. Documentation
  Accessible without login HTML file LanguagePathNotDefined.php.html Doc. Documentation
  Accessible without login HTML file Misusage.php.html Doc. Documentation
  Accessible without login HTML file NotFoundKey.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  Locale  
File Role Description
Files folder imageProcessor (5 files)
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file Processor.php.html Doc. Documentation
  Accessible without login HTML file Translations.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  Locale  /  Processor  
File Role Description
  Accessible without login HTML file AbstractProcessor.php.html Doc. Documentation
  Accessible without login HTML file dashboard.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file Key.php.html Doc. Documentation
  Accessible without login HTML file Value.php.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  coverage  /  _css  
File Role Description
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data
  Accessible without login Plain text file nv.d3.min.css Data Auxiliary data
  Accessible without login Plain text file octicons.css Data Auxiliary data
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files (468)  /  docs  /  coverage  /  _icons  
File Role Description
  Accessible without login Plain text file file-code.svg Data Auxiliary data
  Accessible without login Plain text file file-directory.svg Data Auxiliary data

  Files folder image Files (468)  /  docs  /  coverage  /  _js  
File Role Description
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data
  Accessible without login Plain text file d3.min.js Data Auxiliary data
  Accessible without login Plain text file file.js Data Auxiliary data
  Accessible without login Plain text file jquery.min.js Data Auxiliary data
  Accessible without login Plain text file nv.d3.min.js Data Auxiliary data
  Accessible without login Plain text file popper.min.js Data Auxiliary data

  Files folder image Files (468)  /  docs  /  md  
File Role Description
  Accessible without login Plain text file I18Next-Exception-...geAlreadyPresent.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Exception-...eLocaleNotExists.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Exception-...eNamespaceMisuse.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Exception-...gePathNotDefined.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Exception-Misusage.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Exception-NotFoundKey.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Exception-...ationSyntaxError.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Locale-Pro...bstractProcessor.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Locale-Processor-Key.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Locale-Processor-Value.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Locale-Processor.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Locale-Translations.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Locale.md Data Auxiliary data
  Accessible without login Plain text file I18Next-Translator.md Data Auxiliary data
  Accessible without login Plain text file I18Next-TranslatorInterface.md Data Auxiliary data
  Accessible without login Plain text file I18Next-TranslatorStatic.md Data Auxiliary data
  Accessible without login Plain text file index.md Data Auxiliary data

  Files folder image Files (468)  /  docs  /  metrics  
File Role Description
Files folder imagecss (7 files)
Files folder imageimages (3 files)
Files folder imagejs (10 files)
Files folder imagephpmetrics.html (12 files, 3 directories)
  Accessible without login HTML file all.html Doc. Documentation
  Accessible without login HTML file complexity.html Doc. Documentation
  Accessible without login HTML file coupling.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file junit.html Doc. Documentation
  Accessible without login HTML file loc.html Doc. Documentation
  Accessible without login HTML file oop.html Doc. Documentation
  Accessible without login HTML file packages.html Doc. Documentation
  Accessible without login HTML file package_relations.html Doc. Documentation
  Accessible without login HTML file panel.html Doc. Documentation
  Accessible without login HTML file relations.html Doc. Documentation
  Accessible without login HTML file violations.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  metrics  /  css  
File Role Description
  Accessible without login Plain text file clusterize.css Data Auxiliary data
  Accessible without login Plain text file material-icons.css Data Auxiliary data
  Accessible without login Plain text file milligram.min.css Data Auxiliary data
  Accessible without login Plain text file milligram.min.css.map Data Auxiliary data
  Accessible without login Plain text file normalize.css Data Auxiliary data
  Accessible without login Plain text file roboto.css Data Auxiliary data
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files (468)  /  docs  /  metrics  /  images  
File Role Description
  Accessible without login Image file logo-git.png Icon Icon image
  Accessible without login Image file logo.png Icon Icon image
  Accessible without login Image file phpmetrics-maintenability.png Icon Icon image

  Files folder image Files (468)  /  docs  /  metrics  /  js  
File Role Description
  Accessible without login Plain text file classes.js Data Auxiliary data
  Accessible without login Plain text file clusterize.min.js Data Auxiliary data
  Accessible without login Plain text file d3.hexbin.v0.js Data Auxiliary data
  Accessible without login Plain text file d3.v3.js Data Auxiliary data
  Accessible without login Plain text file functions.js Data Auxiliary data
  Accessible without login Plain text file graph-licenses.js Data Auxiliary data
  Accessible without login Plain text file graph-maintainability.js Data Auxiliary data
  Accessible without login Plain text file history-1.json Data Auxiliary data
  Accessible without login Plain text file latest.json Data Auxiliary data
  Accessible without login Plain text file sort-table.min.js Data Auxiliary data

  Files folder image Files (468)  /  docs  /  metrics  /  phpmetrics.html  
File Role Description
Files folder imagecss (7 files)
Files folder imageimages (3 files)
Files folder imagejs (10 files)
  Accessible without login HTML file all.html Doc. Documentation
  Accessible without login HTML file complexity.html Doc. Documentation
  Accessible without login HTML file coupling.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file junit.html Doc. Documentation
  Accessible without login HTML file loc.html Doc. Documentation
  Accessible without login HTML file oop.html Doc. Documentation
  Accessible without login HTML file packages.html Doc. Documentation
  Accessible without login HTML file package_relations.html Doc. Documentation
  Accessible without login HTML file panel.html Doc. Documentation
  Accessible without login HTML file relations.html Doc. Documentation
  Accessible without login HTML file violations.html Doc. Documentation

  Files folder image Files (468)  /  docs  /  metrics  /  phpmetrics.html  /  css  
File Role Description
  Accessible without login Plain text file clusterize.css Data Auxiliary data
  Accessible without login Plain text file material-icons.css Data Auxiliary data
  Accessible without login Plain text file milligram.min.css Data Auxiliary data
  Accessible without login Plain text file milligram.min.css.map Data Auxiliary data
  Accessible without login Plain text file normalize.css Data Auxiliary data
  Accessible without login Plain text file roboto.css Data Auxiliary data
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files (468)  /  docs  /  metrics  /  phpmetrics.html  /  images  
File Role Description
  Accessible without login Image file logo-git.png Icon Icon image
  Accessible without login Image file logo.png Icon Icon image
  Accessible without login Image file phpmetrics-maintenability.png Icon Icon image

  Files folder image Files (468)  /  docs  /  metrics  /  phpmetrics.html  /  js  
File Role Description
  Accessible without login Plain text file classes.js Data Auxiliary data
  Accessible without login Plain text file clusterize.min.js Data Auxiliary data
  Accessible without login Plain text file d3.hexbin.v0.js Data Auxiliary data
  Accessible without login Plain text file d3.v3.js Data Auxiliary data
  Accessible without login Plain text file functions.js Data Auxiliary data
  Accessible without login Plain text file graph-licenses.js Data Auxiliary data
  Accessible without login Plain text file graph-maintainability.js Data Auxiliary data
  Accessible without login Plain text file history-1.json Data Auxiliary data
  Accessible without login Plain text file latest.json Data Auxiliary data
  Accessible without login Plain text file sort-table.min.js Data Auxiliary data

  Files folder image Files (468)  /  docs  /  source  
File Role Description
Files folder imageapi (2 files, 2 directories)
  Accessible without login Plain text file conf.py Data Auxiliary data
  Accessible without login Plain text file getting_started.rst Data Auxiliary data
  Accessible without login Plain text file index.rst Data Auxiliary data
  Accessible without login Plain text file requirements.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  source  /  api  
File Role Description
Files folder imageatk4 (1 directory)
Files folder imageI18Next (5 files, 3 directories)
  Accessible without login Plain text file index-namespaces-all.rst Data Auxiliary data
  Accessible without login Plain text file index.rst Data Auxiliary data

  Files folder image Files (468)  /  docs  /  source  /  api  /  atk4  
File Role Description
Files folder imagecore (28 files)

  Files folder image Files (468)  /  docs  /  source  /  api  /  atk4  /  core  
File Role Description
  Accessible without login Plain text file AppScopeTrait.rst Data Auxiliary data
  Accessible without login Plain text file AppUserNotificationInterface.rst Data Auxiliary data
  Accessible without login Plain text file CollectionTrait.rst Data Auxiliary data
  Accessible without login Plain text file ConfigTrait.rst Data Auxiliary data
  Accessible without login Plain text file ContainerTrait.rst Data Auxiliary data
  Accessible without login Plain text file DebugTrait.rst Data Auxiliary data
  Accessible without login Plain text file DIContainerTrait.rst Data Auxiliary data
  Accessible without login Plain text file DynamicMethodTrait.rst Data Auxiliary data
  Accessible without login Plain text file Exception.rst Data Auxiliary data
  Accessible without login Plain text file FactoryTrait.rst Data Auxiliary data
  Accessible without login Plain text file HookBreaker.rst Data Auxiliary data
  Accessible without login Plain text file HookTrait.rst Data Auxiliary data
  Accessible without login Plain text file index.rst Data Auxiliary data
  Accessible without login Plain text file InitializerTrait.rst Data Auxiliary data
  Accessible without login Plain text file MultiContainerTrait.rst Data Auxiliary data
  Accessible without login Plain text file NameTrait.rst Data Auxiliary data
  Accessible without login Plain text file PHPUnit7_AgileExceptionWrapper.rst Data Auxiliary data
  Accessible without login Plain text file PHPUnit7_AgileResultPrinter.rst Data Auxiliary data
  Accessible without login Plain text file PHPUnit7_AgileTestCase.rst Data Auxiliary data
  Accessible without login Plain text file PHPUnit_AgileExceptionWrapper.rst Data Auxiliary data
  Accessible without login Plain text file PHPUnit_AgileResultPrinter.rst Data Auxiliary data
  Accessible without login Plain text file PHPUnit_AgileTestCase.rst Data Auxiliary data
  Accessible without login Plain text file PsyshE.rst Data Auxiliary data
  Accessible without login Plain text file QuickExceptionTrait.rst Data Auxiliary data
  Accessible without login Plain text file SessionTrait.rst Data Auxiliary data
  Accessible without login Plain text file TrackableTrait.rst Data Auxiliary data
  Accessible without login Plain text file TranslatableTrait.rst Data Auxiliary data
  Accessible without login Plain text file TranslatorSymfonyTrait.rst Data Auxiliary data

  Files folder image Files (468)  /  docs  /  source  /  api  /  I18Next  
File Role Description
Files folder imageatk4 (2 files)
Files folder imageException (8 files)
Files folder imageLocale (3 files, 1 directory)
  Accessible without login Plain text file index.rst Data Auxiliary data
  Accessible without login Plain text file Locale.rst Data Auxiliary data
  Accessible without login Plain text file Translator.rst Data Auxiliary data
  Accessible without login Plain text file TranslatorInterface.rst Data Auxiliary data
  Accessible without login Plain text file TranslatorStatic.rst Data Auxiliary data

  Files folder image Files (468)  /  docs  /  source  /  api  /  I18Next  /  atk4  
File Role Description
  Accessible without login Plain text file index.rst Data Auxiliary data
  Accessible without login Plain text file TranslatorI18NextTrait.rst Data Auxiliary data

  Files folder image Files (468)  /  docs  /  source  /  api  /  I18Next  /  Exception  
File Role Description
  Accessible without login Plain text file index.rst Data Auxiliary data
  Accessible without login Plain text file LanguageAlreadyPresent.rst Data Auxiliary data
  Accessible without login Plain text file LanguageLocaleNotExists.rst Data Auxiliary data
  Accessible without login Plain text file LanguageNamespaceMisuse.rst Data Auxiliary data
  Accessible without login Plain text file LanguagePathNotDefined.rst Data Auxiliary data
  Accessible without login Plain text file Misusage.rst Data Auxiliary data
  Accessible without login Plain text file NotFoundKey.rst Data Auxiliary data
  Accessible without login Plain text file TranslationSyntaxError.rst Data Auxiliary data

  Files folder image Files (468)  /  docs  /  source  /  api  /  I18Next  /  Locale  
File Role Description
Files folder imageProcessor (4 files)
  Accessible without login Plain text file index.rst Data Auxiliary data
  Accessible without login Plain text file Processor.rst Data Auxiliary data
  Accessible without login Plain text file Translations.rst Data Auxiliary data

  Files folder image Files (468)  /  docs  /  source  /  api  /  I18Next  /  Locale  /  Processor  
File Role Description
  Accessible without login Plain text file AbstractProcessor.rst Data Auxiliary data
  Accessible without login Plain text file index.rst Data Auxiliary data
  Accessible without login Plain text file Key.rst Data Auxiliary data
  Accessible without login Plain text file Value.rst Data Auxiliary data

  Files folder image Files (468)  /  docs  /  _sources  
File Role Description
Files folder imageapi (2 files, 4 directories)
Files folder imageatk4 (1 directory)
Files folder imageI18Next (4 files, 3 directories)
  Accessible without login Plain text file getting_started.rst.txt Doc. Documentation
  Accessible without login Plain text file How_to_use.rst.txt Doc. Documentation
  Accessible without login Plain text file index-namespaces-all.rst.txt Doc. Documentation
  Accessible without login Plain text file index.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  api  
File Role Description
Files folder imageatk4 (1 directory)
Files folder imageGetting_started (1 file)
Files folder imagegetting_started (1 file)
Files folder imageI18Next (5 files, 3 directories)
  Accessible without login Plain text file index-namespaces-all.rst.txt Doc. Documentation
  Accessible without login Plain text file index.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  api  /  atk4  
File Role Description
Files folder imagecore (28 files)

  Files folder image Files (468)  /  docs  /  _sources  /  api  /  atk4  /  core  
File Role Description
  Accessible without login Plain text file AppScopeTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file AppUserNotificationInterface.rst.txt Doc. Documentation
  Accessible without login Plain text file CollectionTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file ConfigTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file ContainerTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file DebugTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file DIContainerTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file DynamicMethodTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file Exception.rst.txt Doc. Documentation
  Accessible without login Plain text file FactoryTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file HookBreaker.rst.txt Doc. Documentation
  Accessible without login Plain text file HookTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file InitializerTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file MultiContainerTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file NameTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file PHPUnit7_AgileExceptionWrapper.rst.txt Doc. Documentation
  Accessible without login Plain text file PHPUnit7_AgileResultPrinter.rst.txt Doc. Documentation
  Accessible without login Plain text file PHPUnit7_AgileTestCase.rst.txt Doc. Documentation
  Accessible without login Plain text file PHPUnit_AgileExceptionWrapper.rst.txt Doc. Documentation
  Accessible without login Plain text file PHPUnit_AgileResultPrinter.rst.txt Doc. Documentation
  Accessible without login Plain text file PHPUnit_AgileTestCase.rst.txt Doc. Documentation
  Accessible without login Plain text file PsyshE.rst.txt Doc. Documentation
  Accessible without login Plain text file QuickExceptionTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file SessionTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file TrackableTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file TranslatableTrait.rst.txt Doc. Documentation
  Accessible without login Plain text file TranslatorSymfonyTrait.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  api  /  Getting_started  
File Role Description
  Accessible without login Plain text file index.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  api  /  getting_started  
File Role Description
  Accessible without login Plain text file index.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  api  /  I18Next  
File Role Description
Files folder imageatk4 (2 files)
Files folder imageException (8 files)
Files folder imageLocale (3 files, 1 directory)
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file Locale.rst.txt Doc. Documentation
  Accessible without login Plain text file Translator.rst.txt Doc. Documentation
  Accessible without login Plain text file TranslatorInterface.rst.txt Doc. Documentation
  Accessible without login Plain text file TranslatorStatic.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  api  /  I18Next  /  atk4  
File Role Description
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file TranslatorI18NextTrait.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  api  /  I18Next  /  Exception  
File Role Description
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file LanguageAlreadyPresent.rst.txt Doc. Documentation
  Accessible without login Plain text file LanguageLocaleNotExists.rst.txt Doc. Documentation
  Accessible without login Plain text file LanguageNamespaceMisuse.rst.txt Doc. Documentation
  Accessible without login Plain text file LanguagePathNotDefined.rst.txt Doc. Documentation
  Accessible without login Plain text file Misusage.rst.txt Doc. Documentation
  Accessible without login Plain text file NotFoundKey.rst.txt Doc. Documentation
  Accessible without login Plain text file TranslationSyntaxError.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  api  /  I18Next  /  Locale  
File Role Description
Files folder imageProcessor (4 files)
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file Processor.rst.txt Doc. Documentation
  Accessible without login Plain text file Translations.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  api  /  I18Next  /  Locale  /  Processor  
File Role Description
  Accessible without login Plain text file AbstractProcessor.rst.txt Doc. Documentation
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file Key.rst.txt Doc. Documentation
  Accessible without login Plain text file Value.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  atk4  
File Role Description
Files folder imagecore (2 files)

  Files folder image Files (468)  /  docs  /  _sources  /  atk4  /  core  
File Role Description
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file MultiContainerTrait.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  I18Next  
File Role Description
Files folder imageatk4 (2 files)
Files folder imageException (7 files)
Files folder imageLocale (3 files, 1 directory)
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file Locale.rst.txt Doc. Documentation
  Accessible without login Plain text file Translator.rst.txt Doc. Documentation
  Accessible without login Plain text file TranslatorInterface.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  I18Next  /  atk4  
File Role Description
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file TranslatorI18NextTrait.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  I18Next  /  Exception  
File Role Description
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file LanguageAlreadyPresent.rst.txt Doc. Documentation
  Accessible without login Plain text file LanguageLocaleNotExists.rst.txt Doc. Documentation
  Accessible without login Plain text file LanguageNamespaceMisuse.rst.txt Doc. Documentation
  Accessible without login Plain text file LanguagePathNotDefined.rst.txt Doc. Documentation
  Accessible without login Plain text file Misusage.rst.txt Doc. Documentation
  Accessible without login Plain text file NotFoundKey.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  I18Next  /  Locale  
File Role Description
Files folder imageProcessor (4 files)
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file Processor.rst.txt Doc. Documentation
  Accessible without login Plain text file Translations.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _sources  /  I18Next  /  Locale  /  Processor  
File Role Description
  Accessible without login Plain text file AbstractProcessor.rst.txt Doc. Documentation
  Accessible without login Plain text file index.rst.txt Doc. Documentation
  Accessible without login Plain text file Key.rst.txt Doc. Documentation
  Accessible without login Plain text file Value.rst.txt Doc. Documentation

  Files folder image Files (468)  /  docs  /  _static  
File Role Description
Files folder imagecss (2 files)
Files folder imagefonts (1 file)
Files folder imagejs (2 files)
  Accessible without login Image file ajax-loader.gif Icon Icon image
  Accessible without login Plain text file alabaster.css Data Auxiliary data
  Accessible without login Plain text file basic.css Data Auxiliary data
  Accessible without login Image file comment-bright.png Icon Icon image
  Accessible without login Image file comment-close.png Icon Icon image
  Accessible without login Image file comment.png Icon Icon image
  Accessible without login Plain text file custom.css Data Auxiliary data
  Accessible without login Plain text file doctools.js Data Auxiliary data
  Accessible without login Plain text file documentation_options.js Data Auxiliary data
  Accessible without login Image file down-pressed.png Icon Icon image
  Accessible without login Image file down.png Icon Icon image
  Accessible without login Image file file.png Icon Icon image
  Accessible without login Plain text file jquery.js Data Auxiliary data
  Accessible without login Plain text file language_data.js Data Auxiliary data
  Accessible without login Image file minus.png Icon Icon image
  Accessible without login Image file plus.png Icon Icon image
  Accessible without login Plain text file pygments.css Data Auxiliary data
  Accessible without login Plain text file searchtools.js Data Auxiliary data
  Accessible without login Plain text file underscore.js Data Auxiliary data
  Accessible without login Image file up-pressed.png Icon Icon image
  Accessible without login Image file up.png Icon Icon image
  Accessible without login Plain text file websupport.js Data Auxiliary data

  Files folder image Files (468)  /  docs  /  _static  /  css  
File Role Description
  Accessible without login Plain text file badge_only.css Data Auxiliary data
  Accessible without login Plain text file theme.css Data Auxiliary data

  Files folder image Files (468)  /  docs  /  _static  /  fonts  
File Role Description
  Accessible without login Plain text file fontawesome-webfont.svg Data Auxiliary data

  Files folder image Files (468)  /  docs  /  _static  /  js  
File Role Description
  Accessible without login Plain text file modernizr.min.js Data Auxiliary data
  Accessible without login Plain text file theme.js Data Auxiliary data

  Files folder image Files (468)  /  src  
File Role Description
Files folder imageI18Next (5 files, 3 directories)

  Files folder image Files (468)  /  src  /  I18Next  
File Role Description
Files folder imageatk4 (1 file, 1 directory)
Files folder imageException (7 files)
Files folder imageLocale (2 files, 1 directory)
  Plain text file Locale.php Class Class source
  Plain text file Translator.php Class Class source
  Plain text file TranslatorInterface.php Class Class source
  Plain text file TranslatorStatic.php Class Class source
  Accessible without login Plain text file TranslatorStatic_functions.php Aux. Auxiliary script

  Files folder image Files (468)  /  src  /  I18Next  /  atk4  
File Role Description
Files folder imagecore (1 file)
  Plain text file TranslatorI18NextTrait.php Class Class source

  Files folder image Files (468)  /  src  /  I18Next  /  atk4  /  core  
File Role Description
  Plain text file MultiContainerTrait.php Class Class source

  Files folder image Files (468)  /  src  /  I18Next  /  Exception  
File Role Description
  Plain text file LanguageAlreadyPresent.php Class Class source
  Plain text file LanguageLocaleNotExists.php Class Class source
  Plain text file LanguageNamespaceMisuse.php Class Class source
  Plain text file LanguagePathNotDefined.php Class Class source
  Plain text file Misusage.php Class Class source
  Plain text file NotFoundKey.php Class Class source
  Plain text file TranslationSyntaxError.php Class Class source

  Files folder image Files (468)  /  src  /  I18Next  /  Locale  
File Role Description
Files folder imageProcessor (3 files, 1 directory)
  Plain text file Processor.php Class Class source
  Plain text file Translations.php Class Class source

  Files folder image Files (468)  /  src  /  I18Next  /  Locale  /  Processor  
File Role Description
Files folder imageKey (8 files)
  Plain text file AbstractProcessor.php Class Class source
  Plain text file Key.php Class Class source
  Plain text file Value.php Class Class source

  Files folder image Files (468)  /  src  /  I18Next  /  Locale  /  Processor  /  Key  
File Role Description
  Plain text file AbstractProcessorKey.php Class Class source
  Plain text file AbstractProcessorKey.php Class Class source
  Plain text file KeyCounter.php Class Class source
  Plain text file KeyCounter.php Class Class source
  Plain text file KeyInterval.php Class Class source
  Plain text file KeyInterval.php Class Class source
  Plain text file KeyPlural.php Class Class source
  Plain text file KeyPlural.php Class Class source

  Files folder image Files (468)  /  tests  
File Role Description
Files folder imagedata (2 directories)
  Plain text file TranslatorBaseCase.php Class Class source
  Plain text file TranslatorMock.php Class Class source
  Plain text file TranslatorStatic_Test.php Class Class source
  Plain text file Translator_Atk4Model_Mock_Test.php Class Class source
  Plain text file Translator_Atk4Trait_Test.php Class Class source
  Plain text file Translator_CaseContextAndPlural_Test.php Class Class source
  Plain text file Translator_CaseContext_Test.php Class Class source
  Plain text file Translator_CaseDeep_Test.php Class Class source
  Plain text file Translator_CaseInterpolation_Test.php Class Class source
  Plain text file Translator_CaseNamespace_Test.php Class Class source
  Plain text file Translator_CaseNestedPlural_Test.php Class Class source
  Plain text file Translator_CaseNested_Test.php Class Class source
  Plain text file Translator_CasePluralInterval_Test.php Class Class source
  Plain text file Translator_CasePlural_Test.php Class Class source
  Plain text file Translator_CaseSimple_Test.php Class Class source
  Plain text file Translator_CaseSpe...xtraLocale_Test.php Class Class source
  Plain text file Translator_Exceptions_Test.php Class Class source

  Files folder image Files (468)  /  tests  /  data  
File Role Description
Files folder imagelocales (3 directories)
Files folder imageutils (3 files)

  Files folder image Files (468)  /  tests  /  data  /  locales  
File Role Description
Files folder imageen (8 files)
Files folder imageit (7 files)
Files folder imagero (2 files)

  Files folder image Files (468)  /  tests  /  data  /  locales  /  en  
File Role Description
  Accessible without login Plain text file atk.json Data Auxiliary data
  Accessible without login Plain text file friend.json Data Auxiliary data
  Accessible without login Plain text file key.json Data Auxiliary data
  Accessible without login Plain text file namespace1.json Data Auxiliary data
  Accessible without login Plain text file namespace2.json Data Auxiliary data
  Accessible without login Plain text file namespace3.json Data Auxiliary data
  Accessible without login Plain text file nesting.json Data Auxiliary data
  Accessible without login Plain text file other_test.json Data Auxiliary data

  Files folder image Files (468)  /  tests  /  data  /  locales  /  it  
File Role Description
  Accessible without login Plain text file atk.json Data Auxiliary data
  Accessible without login Plain text file friend.json Data Auxiliary data
  Accessible without login Plain text file key.json Data Auxiliary data
  Accessible without login Plain text file namespace1.json Data Auxiliary data
  Accessible without login Plain text file namespace2.json Data Auxiliary data
  Accessible without login Plain text file namespace3.json Data Auxiliary data
  Accessible without login Plain text file other_test.json Data Auxiliary data

  Files folder image Files (468)  /  tests  /  data  /  locales  /  ro  
File Role Description
  Accessible without login Plain text file friend.json Data Auxiliary data
  Accessible without login Plain text file other_test.json Data Auxiliary data

  Files folder image Files (468)  /  tests  /  data  /  utils  
File Role Description
  Accessible without login Plain text file cases.php Aux. Auxiliary script
  Accessible without login Plain text file create_cases.php Aux. Auxiliary script
  Accessible without login Plain text file show_cases.php Aux. Auxiliary script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 99%
Total:23
This week:0
All time:11,250
This week:74Up