PHPackages                             itiden/laravel-polywarp - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. itiden/laravel-polywarp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

itiden/laravel-polywarp
=======================

v1.0.0-alpha.3(9mo ago)0410↓16.7%mitPHPCI passing

Since Aug 6Pushed 1mo agoCompare

[ Source](https://github.com/itiden/laravel-polywarp)[ Packagist](https://packagist.org/packages/itiden/laravel-polywarp)[ RSS](/packages/itiden-laravel-polywarp/feed)WikiDiscussions main Synced 1mo ago

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

Polywarp
========

[](#polywarp)

Keep your translations in sync between your laravel backend and frontend.

Fully typed.

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

[](#installation)

```
composer require itiden/laravel-polywarp
```

And add the vite plugin in your vite config:

```
import { polywarp } from "./vendor/itiden/laravel-polywarp/vite-plugin/vite-plugin-polywarp";

export default defineConfig({
  plugins: [
    // ...
    polywarp(),
  ],
});
```

Usage
-----

[](#usage)

### Detecting what language to use

[](#detecting-what-language-to-use)

Polywarp will use the lang set on the html tag of your application to determine which language to use:

```
>

```

### scripting

[](#scripting)

By default, polywarp will generate a `translations.ts` file in your `resources/js` directory. (you can change this in the config file)

This file will contain all the types for your translations, and a `t` function to access them:

```
import { t } from "./translations";

console.log(t("welcome")); // "Welcome to our application"
```

Only the translations keys that are used in your frontend code will be included in the generated file, so you can safely use it without worrying about performance.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance74

Regular maintenance activity

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.7% 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 ~0 days

Total

3

Last Release

283d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13601619?v=4)[Itiden](/maintainers/itiden)[@itiden](https://github.com/itiden)

---

Top Contributors

[![NeoIsRecursive](https://avatars.githubusercontent.com/u/64473191?v=4)](https://github.com/NeoIsRecursive "NeoIsRecursive (42 commits)")[![danielbrodin](https://avatars.githubusercontent.com/u/696872?v=4)](https://github.com/danielbrodin "danielbrodin (1 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/itiden-laravel-polywarp/health.svg)

```
[![Health](https://phpackages.com/badges/itiden-laravel-polywarp/health.svg)](https://phpackages.com/packages/itiden-laravel-polywarp)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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