PHPackages                             php-ecma-intl/test - 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. php-ecma-intl/test

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

php-ecma-intl/test
==================

A conformance test suite for pecl/ecma\_intl

01.5k[2 PRs](https://github.com/php-ecma-intl/test/pulls)PHPCI passing

Since Nov 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/php-ecma-intl/test)[ Packagist](https://packagist.org/packages/php-ecma-intl/test)[ RSS](/packages/php-ecma-intl-test/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

php-ecma-intl/test
==================

[](#php-ecma-intltest)

 **Conformance test suite for pecl/ecma\_intl**

About
-----

[](#about)

This is a PHP port of the `intl402` test suite for [ECMA-402](https://tc39.es/ecma402/)from [Test262](https://github.com/tc39/test262). This port is up-to-date with Test262, as of the version of Test262 included in this project as a Git submodule at `./resources/test262`.

Since PHP does not follow the same conventions as JavaScript, PHP code implementing ECMA-402 will differ from the specification. Where it differs, this test suite follows the reference implementation for [pecl/ecma\_intl](https://github.com/php-ecma-intl/ext). Polyfills may use this test suite to ensure compatibility with pecl/ecma\_intl.

This project adheres to a [code of conduct](CODE_OF_CONDUCT.md). By participating in this project and its community, you are expected to uphold this code.

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

[](#installation)

Install this package as a dependency using [Composer](https://getcomposer.org).

```
composer require --dev php-ecma-intl/test
```

Usage
-----

[](#usage)

Use these tests to ensure your polyfill library conforms to the pecl/ecma\_intl implementation of [ECMA-402](https://tc39.es/ecma402/).

To add these tests to your project's test runner, add the following to your project's `phpunit.xml` or `phpunit.xml.dist` file:

```

        ./vendor/php-ecma-intl/test/tests

```

Then, create a file (if you don't already have one) at `tests/Pest.php`, and add the following to it:

```
include_once __DIR__ . '/vendor/php-ecma-intl/test/harness/testIntl.php';
```

Now, you may run `vendor/bin/pest --testsuite "ecma_intl conformance"` to execute the conformance tests provided by this package.

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

[](#contributing)

Contributions are welcome! To contribute, please familiarize yourself with [CONTRIBUTING.md](CONTRIBUTING.md).

Coordinated Disclosure
----------------------

[](#coordinated-disclosure)

Keeping user information safe and secure is a top priority, and we welcome the contribution of external security researchers. If you believe you've found a security issue in software that is maintained in this repository, please read [SECURITY.md](SECURITY.md) for instructions on submitting a vulnerability report.

Copyright and License
---------------------

[](#copyright-and-license)

pecl/ecma\_intl is copyright © [php-ecma-intl](https://github.com/php-ecma-intl)contributors and licensed for use under the terms of the BSD 3-Clause "New" or "Revised" License (BSD-3-Clause). Please see [LICENSE](LICENSE) for more information.

php-ecma-intl/test may utilize copyrighted material under license from the following projects:

- [Test262: ECMAScript Test Suite](https://github.com/tc39/test262)

Please see [NOTICE](NOTICE) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 72.9% 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/f514481fa9cfdfd5dbcaccb3e5b480f18ea05ebf331cddf9b1c5a2a96a78fef5?d=identicon)[ramsey](/maintainers/ramsey)

---

Top Contributors

[![ramsey](https://avatars.githubusercontent.com/u/42941?v=4)](https://github.com/ramsey "ramsey (105 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (38 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")

---

Tags

ecma402i18nicuinternationalizationintll10nlocalizationphptestunicode

### Embed Badge

![Health badge](/badges/php-ecma-intl-test/health.svg)

```
[![Health](https://phpackages.com/badges/php-ecma-intl-test/health.svg)](https://phpackages.com/packages/php-ecma-intl-test)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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