Download the PHP package jayesh/laravel-gemini-translator without Composer
On this page you can find all versions of the php package jayesh/laravel-gemini-translator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jayesh/laravel-gemini-translator
More information about jayesh/laravel-gemini-translator
Files in jayesh/laravel-gemini-translator
Package laravel-gemini-translator
Short Description An interactive command to extract and generate Laravel translations using Gemini AI.
License MIT
Informations about the package laravel-gemini-translator
Laravel Gemini AI Translation Extractor
An interactive Artisan command that scans your Laravel project for translation keys, translates them using Google's Gemini AI, and generates the necessary language files.
🚀 Key Features
- Interactive & Cross-Platform: Works on all operating systems with robust fallback
- AI-Powered Translation: Uses Gemini AI for high-quality translations
- Flexible Concurrency: Fork driver for Linux/macOS, sync driver for Windows
- Smart Key Detection: Scans Blade, PHP, Vue, JS, and TypeScript files
- Intelligent Processing: Ignores
route()
andconfig()
helpers
📋 Requirements
- PHP 8.1 or higher
- Laravel 10.0 or higher
- Google Gemini API key
pcntl
extension (for fork driver on Linux/macOS)
⚡ Quick Start
1. Installation
2. Configuration
Add to your .env
:
Get your API key from Google AI Studio.
3. Usage
📖 Documentation
For detailed documentation, step-by-step guides, and advanced usage examples, visit our comprehensive documentation:
🔧 Common Options
🏗️ File Structure
🛠️ Supported Files & Functions
- Files:
.blade.php
,.php
,.vue
,.js
,.jsx
,.ts
,.tsx
- Functions:
__()
,trans()
,@lang()
,$t()
,i18n.t()
🐛 Issues & Support
- Rate Limits: Free tier has 15 RPM / 1000 daily requests
- Performance: Use
--driver=fork
on Linux/macOS for best performance - Help: Run
php artisan help translations:extract-and-generate
📜 License
The MIT License (MIT). Please see License File for more information.
⭐ Star this repo if you find it helpful! | 🐛 Report issues on GitHub | 📖 Read full docs at Here
All versions of laravel-gemini-translator with dependencies
laravel/framework Version ^10.0 || ^11.0 || ^12.0
google-gemini-php/laravel Version ^2.0
spatie/fork Version ^1.2