PHPackages                             doitonlinemedia/translatableroutes - 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. doitonlinemedia/translatableroutes

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

doitonlinemedia/translatableroutes
==================================

Create translatable resource routes

1.0(10y ago)53741MITPHPPHP &gt;=5.3.0

Since Jan 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/doitonlinemedia/TranslatableRoutes)[ Packagist](https://packagist.org/packages/doitonlinemedia/translatableroutes)[ RSS](/packages/doitonlinemedia-translatableroutes/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

TranslatableRoutes
==================

[](#translatableroutes)

Create translatable resource routes for laravel

Installation
============

[](#installation)

Run the following command:

`composer require doitonlinemedia/translatableroutes "dev-master"`

Next add the following provider to your app.php in the config folder under 'providers':

`Doitonlinemedia\Translatableroutes\TranslatableRoutesServiceProvider::class`

And add this line to 'aliases' in the same file:

`'TranslatableRoute' => Doitonlinemedia\Translatableroutes\TranslatableRouteFacade::class`

Finally run `composer dump-autoload`

Usage
=====

[](#usage)

From now on you can use it like this in your route file:

`TranslatableRoute::resource('recipe', 'recepten', 'RecipeController');`

Grouping these routes still works!

You can also use it like:

`TranslatableRoute::resource('recipe', trans('routes.recipes'), 'RecipeController');`

This way you will have different routes in different language, but always named the same. So if you use route('recipe.index') you'll always return the to the right page no matter what language.

Do not forget to set your locale to specific language you need e.g. `\App::setLocale('nl')`

Result
======

[](#result)

[![Alt text](example.png?raw=true "Routes Example")](example.png?raw=true)

Expansion
=========

[](#expansion)

For now this package supports the English (default) and Dutch language.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3762d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2363f878298e96bab752920a98088a6a3f698ddfdf8da95b0df91bc084be3065?d=identicon)[timvanuum](/maintainers/timvanuum)

### Embed Badge

![Health badge](/badges/doitonlinemedia-translatableroutes/health.svg)

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

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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