PHPackages                             imabusayed/laravel-ai-translator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. imabusayed/laravel-ai-translator

ActiveLibrary[Localization &amp; i18n](/categories/localization)

imabusayed/laravel-ai-translator
================================

AI-powered Laravel Translation Manager with OpenAI integration and UI

v1.0.0(1y ago)08MITPHPPHP ^8.1

Since Nov 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ImAbuSayed/laravel-ai-translator)[ Packagist](https://packagist.org/packages/imabusayed/laravel-ai-translator)[ RSS](/packages/imabusayed-laravel-ai-translator/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Laravel AI Translator
=====================

[](#laravel-ai-translator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/63764e17f35cabc3423602e43f41cc2df99ec476dca8cd99a4b93a95226074d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696d61627573617965642f6c61726176656c2d61692d7472616e736c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/imabusayed/laravel-ai-translator)[![Total Downloads](https://camo.githubusercontent.com/b60bffb0579448944d9e2a2c2cab1b782c9c7c038ee6b3f532a3d3c8d598d703/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696d61627573617965642f6c61726176656c2d61692d7472616e736c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/imabusayed/laravel-ai-translator)[![License](https://camo.githubusercontent.com/a61491fd2de7f47e464a53956d2b1726e737f463369e63c86c81113e98a11c75/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f696d61627573617965642f6c61726176656c2d61692d7472616e736c61746f722e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

An AI-powered Laravel Translation Manager with OpenAI integration and UI.

Features
--------

[](#features)

- 🤖 AI-powered translation using OpenAI
- 🔍 Missing translation detection
- 💾 Translation memory system
- 📤 Import/export functionality
- 👀 Real-time preview
- 🌐 Support for multiple locales
- ⚡ Command-line interface
- 🎨 User-friendly UI

Installation
------------

[](#installation)

1. Install the package via composer:

```
composer require imabusayed/laravel-ai-translator
```

2. Publish the configuration file:

```
php artisan vendor:publish --provider="ImAbuSayed\LaravelAiTranslator\Providers\LaravelAiTranslatorServiceProvider"
```

3. Add your OpenAI API key to your .env file:

```
OPENAI_API_KEY=your-api-key

```

4. Run the migrations:

```
php artisan migrate
```

Usage
-----

[](#usage)

### Web Interface

[](#web-interface)

Access the translation manager at `/translations` route.

### Command Line

[](#command-line)

Scan for missing translations:

```
php artisan translations:scan
```

Scan and translate missing strings:

```
php artisan translations:scan --translate
```

Scan specific locale:

```
php artisan translations:scan es --translate
```

### In Your Code

[](#in-your-code)

```
use ImAbuSayed\LaravelAiTranslator\Services\TranslationService;

public function example(TranslationService $translator)
{
    $translation = $translator->translateString('Hello, World!', 'es');
    // Returns: "¡Hola, Mundo!"
}
```

Configuration
-------------

[](#configuration)

The configuration file (`config/ai-translator.php`) includes:

- OpenAI API settings
- Supported locales
- Cache configuration
- Scan paths
- Translation memory settings

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Abu Sayed](https://github.com/ImAbuSayed)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

601d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66951173?v=4)[Abu Sayed](/maintainers/ImAbuSayed)[@ImAbuSayed](https://github.com/ImAbuSayed)

---

Top Contributors

[![ImAbuSayed](https://avatars.githubusercontent.com/u/66951173?v=4)](https://github.com/ImAbuSayed "ImAbuSayed (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/imabusayed-laravel-ai-translator/health.svg)

```
[![Health](https://phpackages.com/badges/imabusayed-laravel-ai-translator/health.svg)](https://phpackages.com/packages/imabusayed-laravel-ai-translator)
```

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M222](/packages/backpack-crud)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/packages/statamic-cms)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

3017.9k](/packages/mage-os-module-automatic-translation)[sproutcms/cms

Enterprise content management and framework

242.5k4](/packages/sproutcms-cms)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
