Console Helpers
Accounts Builder
Alerts Sender
Resource API Generator
Artisan Command Runner
Blog Template
Bookmarks Menu
File Browser
CMS Builder
Developer Gate
Discord Notifications Integration
Documents Editor
E-Commerce Builder
Firebase Notifications Integration
Helper Classes Generator
Icons Picker & Provider
Invoices Manager
GitHub Issues Manager
Language Switcher
Locations Seeder
User Logger
Media Manager
Menu Generator
Sticky Notes
Payment Manager
Plugins Manager & Generator
Point of Sale
Progressive Web App Integration
SEO Manager
Settings Hub
Simple Theme
Social Media Manager
Subscriptions
Tenancy Multi-database
Translation Component
Translations Manager
Google Translations
Translations GPT
Twilio Whatsapp Notifications Integrations
Types Manager
User Manager
Wallets Manager
Wallet Withdrawals
Laravel Package Generator
Filament Translations GPT
Translations Manager extension to use ChatGPT openAI to auto translate your __(), trans() fn
Screenshots
Installation
before install this package you need to have Translation Manager installed and configured
composer require tomatophp/filament-translations-gpt
after install your package please run this command
php artisan filament-translations-gpt:install
finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php
->plugin(\TomatoPHP\FilamentTranslationsGpt\FilamentTranslationsGptPlugin::make())
Usage
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:clear
Publish Assets
you 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"
Testing
if you like to run PEST
testing just use this command
composer test
Code Style
if you like to fix the code style just use this command
composer format
PHPStan
if you like to check the code by PHPStan
just use this command
composer analyse
Other Filament Packages
Checkout our Awesome TomatoPHP