{"id":28714931,"url":"https://github.com/sunaoka/phpunit-laravel-localization","last_synced_at":"2026-04-13T02:02:48.823Z","repository":{"id":298247497,"uuid":"999326236","full_name":"sunaoka/phpunit-laravel-localization","owner":"sunaoka","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-10T05:56:33.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-10T06:26:50.810Z","etag":null,"topics":["laravel","phpunit","translation"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/sunaoka/phpunit-laravel-localization","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunaoka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-10T05:02:17.000Z","updated_at":"2025-06-10T05:56:37.000Z","dependencies_parsed_at":"2025-06-10T06:38:05.310Z","dependency_job_id":null,"html_url":"https://github.com/sunaoka/phpunit-laravel-localization","commit_stats":null,"previous_names":["sunaoka/phpunit-laravel-localization"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sunaoka/phpunit-laravel-localization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunaoka%2Fphpunit-laravel-localization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunaoka%2Fphpunit-laravel-localization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunaoka%2Fphpunit-laravel-localization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunaoka%2Fphpunit-laravel-localization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunaoka","download_url":"https://codeload.github.com/sunaoka/phpunit-laravel-localization/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunaoka%2Fphpunit-laravel-localization/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259910632,"owners_count":22930699,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["laravel","phpunit","translation"],"created_at":"2025-06-15T02:00:17.536Z","updated_at":"2026-04-13T02:02:43.580Z","avatar_url":"https://github.com/sunaoka.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Localization PHPUnit testing\n\n[![Latest](https://poser.pugx.org/sunaoka/phpunit-laravel-localization/v)](https://packagist.org/packages/sunaoka/phpunit-laravel-localization)\n[![License](https://poser.pugx.org/sunaoka/phpunit-laravel-localization/license)](https://packagist.org/packages/sunaoka/phpunit-laravel-localization)\n[![PHP](https://img.shields.io/packagist/php-v/sunaoka/phpunit-laravel-localization)](composer.json)\n[![Test](https://github.com/sunaoka/phpunit-laravel-localization/actions/workflows/test.yml/badge.svg)](https://github.com/sunaoka/phpunit-laravel-localization/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/sunaoka/phpunit-laravel-localization/graph/badge.svg)](https://codecov.io/gh/sunaoka/phpunit-laravel-localization)\n\n----\n\n## Features\n\n- Detect translation keys that are only used in “application” files.\n- Detect translation keys defined only in “lang” files.\n- Test to see if the translation keys for each language match, including the order\n\n## Installation\n\n```bash\ncomposer require --dev sunaoka/phpunit-laravel-localization\n```\n\n## Usage\n\n```php\n\u003c?php\n// tests/Unit/LocalizationTest.php\n\ndeclare(strict_types=1);\n\nnamespace Tests\\Unit;\n\nuse Sunaoka\\PHPUnit\\Laravel\\Localization\\LocalizationTesting;\nuse Tests\\TestCase;\n\nclass LocalizationTest extends TestCase\n{\n    use LocalizationTesting;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunaoka%2Fphpunit-laravel-localization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunaoka%2Fphpunit-laravel-localization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunaoka%2Fphpunit-laravel-localization/lists"}