e2tmk/langfy

This is my package langfy

Fund package maintenance!
langfy

V1.0.0 2025-06-26 19:55 UTC

This package is auto-updated.

Last update: 2025-06-27 18:37:21 UTC


README

Langfy Logo

Langfy

Latest Version on Packagist Total Downloads

A powerful Laravel package that automates the discovery, organization, and translation of internationalization strings using Artificial Intelligence.

Langfy simplifies the internationalization process for your Laravel projects by automatically finding translatable strings in your code, organizing them into JSON files, and translating them to multiple languages using modern AI. With a fluent and intuitive API, Langfy makes translation management a simple and efficient task.

Installation

You can install the package via Composer:

composer require e2tmk/langfy --dev

Features

  • πŸ” Smart String Discovery: Automatically finds translatable strings in your Laravel application and modules
  • 🧠 AI-Powered Translation: Uses modern AI models to translate strings with context awareness
  • πŸ“ Organized Output: Saves translations in structured JSON files for easy management
  • πŸ”— Fluent API: Chainable methods for clean and readable code
  • 🎯 Multiple Contexts: Support for application-wide and module-specific translations
  • ⚑ Progress Tracking: Built-in progress callbacks for long-running operations
  • πŸŽ›οΈ Flexible Configuration: Customizable paths, patterns, and AI provider settings
  • οΏ½ Batch Processing: Efficient chunk-based translation with retry mechanisms

Documentation

πŸ“– Complete Documentation

License

The project is licensed under the MIT License.