coffreo/js-translation-extractor
Extracts Laravel translation strings used in JavaScript by scanning your frontend source. Helps keep locale files in sync with JS usage and reduces missing-key issues in mixed Blade/Vue/React apps.
Adopt if:
Look elsewhere if:
For Executives: "This package automates the extraction of translatable strings from JavaScript, cutting manual work by 80%+ for our multilingual apps. For example, [Competitor X] saves $50K/year by reducing translation service costs—we can replicate this with minimal dev effort. The MIT license and lightweight design make it a low-risk, high-impact addition to our i18n pipeline."
For Engineering:
"We’re adding a CLI tool to auto-scan JS files for hardcoded strings (e.g., i18next.t('key') vs. 'Hello'). It integrates with our existing Laravel backend via PHP, so no new languages/frameworks needed. Outputs JSON/CSV for translators, and we can hook it into GitHub Actions to block PRs with untranslated strings. Estimated dev time: 2 days for setup, 0 ongoing maintenance."
How can I help you explore Laravel packages today?