kargnas/laravel-ai-translator
Automatically translate Laravel language files with AI. Scans PHP and JSON localization files, finds missing translations, and generates them via OpenAI, Anthropic, and other providers, keeping multilingual apps in sync with minimal setup.
Scope note: This is the first assessment for kargnas/laravel-ai-translator. Evidence base is the 1.7.22 changelog only; no source review, test-coverage data, or prior due diligence exists. Treat ratings below as provisional and gate them on the key questions.
Architecture fit
Integration feasibility
composer require, config publish, provider credential). The blocker is not code integration, it is account/procurement: a default-provider switch means teams now need an OpenRouter account and funded credits to run out of the box.Allow symfony/process ^8.0 widens the dependency envelope. Positive for teams already on Symfony 8, but it also means Composer may resolve combinations the maintainer has not exercised. Requires a lockfile diff and matrix check against the target Laravel version's own constraints.actions/checkout 4→6, claude-code-action bump) do not affect consumers.Technical risk
Key questions
symfony/process ^8.0? Is there a CI matrix?Stack fit
lang//resources/lang/ under source control. Natural fit where translations already flow through PR review.Migration path
1.7.21 on the current branch and capture a baseline: one full translation run, cost estimate, and diff of generated files.1.7.22 in an isolated branch. Immediately pin the previous provider explicitly in config rather than accepting the new default, so the upgrade tests package changes and provider changes separately.Compatibility
symfony/process ^8.0 in play; check for constraint conflicts and for transitive upgrades of unrelated packages.Sequencing Spike (1 day) → config/provider audit → non-production run on a low-risk locale subset → cost and quality comparison → production rollout with the provider pinned via env var → revisit default and pricing behaviour only after a quarter of stable runs.
Maintenance
composer update hygiene plus tracking of provider/model deprecations. OpenRouter model identifiers and price points change independently of this package, so cost behaviour can shift without a version bump.Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?