https://github.com/sunaoka/phpunit-laravel-localization
https://github.com/sunaoka/phpunit-laravel-localization
laravel phpunit translation
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sunaoka/phpunit-laravel-localization
- Owner: sunaoka
- License: mit
- Created: 2025-06-10T05:02:17.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-06-10T05:56:33.000Z (5 months ago)
- Last Synced: 2025-06-10T06:26:50.810Z (5 months ago)
- Topics: laravel, phpunit, translation
- Language: PHP
- Homepage: https://packagist.org/packages/sunaoka/phpunit-laravel-localization
- Size: 22.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Localization PHPUnit testing
[](https://packagist.org/packages/sunaoka/phpunit-laravel-localization)
[](https://packagist.org/packages/sunaoka/phpunit-laravel-localization)
[](composer.json)
[](https://github.com/sunaoka/phpunit-laravel-localization/actions/workflows/test.yml)
[](https://codecov.io/gh/sunaoka/phpunit-laravel-localization)
----
## Features
- Detect translation keys that are only used in “application” files.
- Detect translation keys defined only in “lang” files.
- Test to see if the translation keys for each language match, including the order
## Installation
```bash
composer require --dev sunaoka/phpunit-laravel-localization
```
## Usage
```php