PHPackages                             4lexvav/laravel-db-translations - 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. 4lexvav/laravel-db-translations

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

4lexvav/laravel-db-translations
===============================

Simple database implementation of Laravel Translations

v0.1.2(4y ago)018MITPHPPHP &gt;=7

Since Aug 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/4lexvav/laravel-db-translations)[ Packagist](https://packagist.org/packages/4lexvav/laravel-db-translations)[ RSS](/packages/4lexvav-laravel-db-translations/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (3)Versions (4)Used By (0)

Laravel Database Translations
-----------------------------

[](#laravel-database-translations)

---

This package provides simple database implementation of Laravel' Loader interface used for translations and a few helper methods that can be exploit to use translations stored in your DB.

### Installation

[](#installation)

`require 4lexvav/laravel-db-translations`

Run migrations to create `db_translations` table:

```
php artisan vendor:publish --provider="Vav\Translation\DBTranslationServiceProvider" --tag=migrations
php artisan migrate

```

### Usage

[](#usage)

Populate your `db_translations` table with records, so that you can use the helper functions below to display translations.

```
__db('some.key', ['Placeholder' => 'value'])

```

```
trans_db('some.key', ['Placeholder' => 'value'])

```

```
trans_choice_db('some.key', count($array), ['Placeholder' => 'value'])

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Every ~2 days

Total

3

Last Release

1771d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8760739?v=4)[Oleksii Varlamov](/maintainers/4lexvav)[@4lexvav](https://github.com/4lexvav)

---

Top Contributors

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

---

Tags

laraveltranslationsdb\_translations

### Embed Badge

![Health badge](/badges/4lexvav-laravel-db-translations/health.svg)

```
[![Health](https://phpackages.com/badges/4lexvav-laravel-db-translations/health.svg)](https://phpackages.com/packages/4lexvav-laravel-db-translations)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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