PHPackages                             fegerer/langtojs - 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. fegerer/langtojs

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

fegerer/langtojs
================

:package\_description

11PHPCI failing

Since May 28Pushed 5y agoCompare

[ Source](https://github.com/fegerer/LangToJs)[ Packagist](https://packagist.org/packages/fegerer/langtojs)[ RSS](/packages/fegerer-langtojs/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

LangToJs
========

[](#langtojs)

[![Latest Version on Packagist](https://camo.githubusercontent.com/339ea0e90da1f03904d8d26e4acc70e6d33942f273c46cb59d03699d69de17e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666567657265722f6c616e67746f6a732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fegerer/langtojs)[![Total Downloads](https://camo.githubusercontent.com/a3086b5d3d23664aa42dddc36205f882de531c000cb3c2d4a6e626424f0bccc7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666567657265722f6c616e67746f6a732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fegerer/langtojs)[![Build Status](https://camo.githubusercontent.com/2e035634bebc6d7b2cda50f53d44a2347d3dafa070d0365bfb191f6ae4becda9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f666567657265722f6c616e67746f6a732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/fegerer/langtojs)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

Laravel Translations in Javascript.

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

[](#installation)

Via Composer

```
$ composer require fegerer/langtojs
```

Usage
-----

[](#usage)

### Publish Config

[](#publish-config)

php artisan vendor:publish --provider Fegerer\\LangToJs\\LangToJsServiceProvider

Edit `langtojs.php`

### Render the Scripts.

[](#render-the-scripts)

```
{!! LangToJs::scripts() !!}
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [author name](https://github.com/fegerer)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c1c3c0eca55a827833709b0185a8041796bd13b217497051c0c321ca85c0011?d=identicon)[fegerer](/maintainers/fegerer)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/fegerer-langtojs/health.svg)

```
[![Health](https://phpackages.com/badges/fegerer-langtojs/health.svg)](https://phpackages.com/packages/fegerer-langtojs)
```

###  Alternatives

[webbingbrasil/filament-jetstream-theme

A custom theme for Filament inspired in Laravel Jetstream.

221.4k](/packages/webbingbrasil-filament-jetstream-theme)

PHPackages © 2026

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