PHPackages                             snayvik/translation - 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. snayvik/translation

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

snayvik/translation
===================

This package is useful for translation of strings in the website

v1.0.10(4y ago)022MITPHP

Since Jul 21Pushed 4y agoCompare

[ Source](https://github.com/snayvik/snayvik-laravel-translation)[ Packagist](https://packagist.org/packages/snayvik/translation)[ RSS](/packages/snayvik-translation/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (12)Used By (0)

Snayvik translation for laravel 8
=================================

[](#snayvik-translation-for-laravel-8)

The simplest laravel translation based on files and database syncing. It will import all your translations from project's "lang" directory to database and from database to translation fileswith a single click.

Screenshots
-----------

[](#screenshots)

[![App Screenshot](https://camo.githubusercontent.com/204015cfaa4243f46f0a3d46cc7a92492853c3bf0d35ef8bf17b9944add3481a/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f343638783330303f746578743d4170702b53637265656e73686f742b48657265)](https://camo.githubusercontent.com/204015cfaa4243f46f0a3d46cc7a92492853c3bf0d35ef8bf17b9944add3481a/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f343638783330303f746578743d4170702b53637265656e73686f742b48657265)

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

[](#installation)

Install Snayvik translation using composer

```
  composer require snayvik/translation
```

Run Migration

```
  php artisan migrate
```

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

[](#configuration)

To override the defualt configuration, you have to pulish the snayvik translation file into your code using :

```
php artisan vendor:publish --tag=snayvik-translation-config

```

### Options :

[](#options-)

`route_prefix` : Prefix for translation route. If route prefix is empty then translations page will be shown on yourdomain/translations.

`route_middleware` : Will be an array. The default is web and auth.

`extend_blade` : The blade file is using template inheritance. So you may have to change the extendable blade file. The default is 'layouts.app' which is provided by laravel itself.

`content_section` : The html content section where translation setting will be rendered. Default is content.

`javascript_section` : The translations key value data will be saved using XMLHttpRequest and using javascript.So you must have to add it. Default is js.

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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 ~0 days

Total

11

Last Release

1483d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfb03e8a2ce0a683039efe445bc0d6a2e9500bd485d788591439a410db5888db?d=identicon)[vinodsnayvik](/maintainers/vinodsnayvik)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/snayvik-translation/health.svg)

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

###  Alternatives

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[devaslanphp/auto-translate

Auto generate translation JSON files

6627.3k](/packages/devaslanphp-auto-translate)

PHPackages © 2026

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