Translations Manager extension to use ChatGPT openAI to auto translate your __(), trans() fn
before install this package you need to have Translation Manager installed and configured
composer require tomatophp/filament-translations-gptafter install your package please run this command
php artisan filament-translations-gpt:installfinally register the plugin on /app/Providers/Filament/AdminPanelProvider.php
->plugin(\TomatoPHP\FilamentTranslationsGpt\FilamentTranslationsGptPlugin::make())now you need to add the following to your .env file:
OPENAI_API_KEY=
OPENAI_ORGANIZATION=now you need to clear you cache
php artisan config:clearyou can publish config file by use this command
php artisan vendor:publish --tag="filament-translations-gpt-config"you can publish languages file by use this command
php artisan vendor:publish --tag="filament-translations-gpt-lang"if you like to run PEST testing just use this command
composer testif you like to fix the code style just use this command
composer formatif you like to check the code by PHPStan just use this command
composer analyseCheckout our Awesome TomatoPHP


