{"id":33948368,"url":"https://github.com/php-ecma-intl/test","last_synced_at":"2026-05-30T22:31:18.976Z","repository":{"id":181906289,"uuid":"667643037","full_name":"php-ecma-intl/test","owner":"php-ecma-intl","description":"🧪 Conformance test suite for pecl/ecma_intl","archived":false,"fork":false,"pushed_at":"2025-02-01T13:51:31.000Z","size":391,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-14T07:27:39.986Z","etag":null,"topics":["ecma402","i18n","icu","internationalization","intl","l10n","localization","php","test","unicode"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php-ecma-intl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":null},"created_at":"2023-07-18T01:48:00.000Z","updated_at":"2024-11-01T13:57:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa2e20b6-8ed1-46fb-b13a-a8ad07e7a5fc","html_url":"https://github.com/php-ecma-intl/test","commit_stats":null,"previous_names":["php-ecma-intl/test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/php-ecma-intl/test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-ecma-intl%2Ftest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-ecma-intl%2Ftest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-ecma-intl%2Ftest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-ecma-intl%2Ftest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-ecma-intl","download_url":"https://codeload.github.com/php-ecma-intl/test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-ecma-intl%2Ftest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33712579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ecma402","i18n","icu","internationalization","intl","l10n","localization","php","test","unicode"],"created_at":"2025-12-12T18:36:37.037Z","updated_at":"2026-05-30T22:31:18.964Z","avatar_url":"https://github.com/php-ecma-intl.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ephp-ecma-intl/test\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003eConformance test suite for pecl/ecma_intl\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003c!--\nTODO: Make sure the following URLs are correct and working for your project.\n      Then, remove these comments to display the badges, giving users a quick\n      overview of your package.\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/php-ecma-intl/ext\"\u003e\u003cimg src=\"https://img.shields.io/badge/source-php--ecma--intl/ext-blue.svg?style=flat-square\" alt=\"Source Code\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/php-ecma-intl/ext\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/php-ecma-intl/ext.svg?style=flat-square\u0026label=release\" alt=\"Download Package\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://php.net\"\u003e\u003cimg src=\"https://img.shields.io/packagist/php-v/php-ecma-intl/ext.svg?style=flat-square\u0026colorB=%238892BF\" alt=\"PHP Programming Language\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/php-ecma-intl/ext/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/php-ecma-intl/ext.svg?style=flat-square\u0026colorB=darkcyan\" alt=\"Read License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/php-ecma-intl/ext/actions/workflows/continuous-integration.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/php-ecma-intl/ext/continuous-integration.yml?branch=main\u0026style=flat-square\u0026logo=github\" alt=\"Build Status\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/php-ecma-intl/ext\"\u003e\u003cimg src=\"https://img.shields.io/codecov/c/gh/php-ecma-intl/ext?label=codecov\u0026logo=codecov\u0026style=flat-square\" alt=\"Codecov Code Coverage\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://shepherd.dev/github/php-ecma-intl/ext\"\u003e\u003cimg src=\"https://img.shields.io/endpoint?style=flat-square\u0026url=https%3A%2F%2Fshepherd.dev%2Fgithub%2Fphp-ecma-intl%2Fext%2Fcoverage\" alt=\"Psalm Type Coverage\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n--\u003e\n\n\n## About\n\nThis is a PHP port of the `intl402` test suite for [ECMA-402](https://tc39.es/ecma402/)\nfrom [Test262](https://github.com/tc39/test262). This port is up-to-date with\nTest262, as of the version of Test262 included in this project as a Git\nsubmodule at `./resources/test262`.\n\nSince PHP does not follow the same conventions as JavaScript, PHP code\nimplementing ECMA-402 will differ from the specification. Where it differs,\nthis test suite follows the reference implementation for\n[pecl/ecma_intl](https://github.com/php-ecma-intl/ext). Polyfills may use\nthis test suite to ensure compatibility with pecl/ecma_intl.\n\nThis project adheres to a [code of conduct](CODE_OF_CONDUCT.md). By\nparticipating in this project and its community, you are expected to uphold\nthis code.\n\n\n## Installation\n\nInstall this package as a dependency using [Composer](https://getcomposer.org).\n\n``` bash\ncomposer require --dev php-ecma-intl/test\n```\n\n\n## Usage\n\nUse these tests to ensure your polyfill library conforms to the pecl/ecma_intl\nimplementation of [ECMA-402](https://tc39.es/ecma402/).\n\nTo add these tests to your project's test runner, add the following to your\nproject's `phpunit.xml` or `phpunit.xml.dist` file:\n\n```xml\n\u003ctestsuites\u003e\n    \u003ctestsuite name=\"ecma_intl conformance\"\u003e\n        \u003cdirectory suffix=\".php\"\u003e./vendor/php-ecma-intl/test/tests\u003c/directory\u003e\n    \u003c/testsuite\u003e\n\u003c/testsuites\u003e\n```\n\nThen, create a file (if you don't already have one) at `tests/Pest.php`, and\nadd the following to it:\n\n```php\ninclude_once __DIR__ . '/vendor/php-ecma-intl/test/harness/testIntl.php';\n```\n\nNow, you may run `vendor/bin/pest --testsuite \"ecma_intl conformance\"` to\nexecute the conformance tests provided by this package.\n\n\n## Contributing\n\nContributions are welcome! To contribute, please familiarize yourself with\n[CONTRIBUTING.md](CONTRIBUTING.md).\n\n\n## Coordinated Disclosure\n\nKeeping user information safe and secure is a top priority, and we welcome the\ncontribution of external security researchers. If you believe you've found a\nsecurity issue in software that is maintained in this repository, please read\n[SECURITY.md](SECURITY.md) for instructions on submitting a vulnerability report.\n\n\n## Copyright and License\n\npecl/ecma_intl is copyright © [php-ecma-intl](https://github.com/php-ecma-intl)\ncontributors and licensed for use under the terms of the BSD 3-Clause \"New\" or\n\"Revised\" License (BSD-3-Clause). Please see [LICENSE](LICENSE) for more\ninformation.\n\nphp-ecma-intl/test may utilize copyrighted material under license from the\nfollowing projects:\n\n- [Test262: ECMAScript Test Suite](https://github.com/tc39/test262)\n\nPlease see [NOTICE](NOTICE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-ecma-intl%2Ftest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-ecma-intl%2Ftest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-ecma-intl%2Ftest/lists"}