PHPackages                             apility/filament-localizable-resources - 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. apility/filament-localizable-resources

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

apility/filament-localizable-resources
======================================

This package provides a re-usable trait for Filament Resources which adds support for localizing the resource labels.

v1.0.2(2y ago)36[2 PRs](https://github.com/apility/filament-localizable-resources/pulls)MITPHPPHP ^8.1

Since Jan 16Pushed 2y agoCompare

[ Source](https://github.com/apility/filament-localizable-resources)[ Packagist](https://packagist.org/packages/apility/filament-localizable-resources)[ Docs](https://github.com/apility/filament-localizable-resources)[ GitHub Sponsors](https://github.com/Apility)[ RSS](/packages/apility-filament-localizable-resources/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (6)Versions (6)Used By (0)

Filament Localizable Resources
==============================

[](#filament-localizable-resources)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e2656fc6dda23b42858d60dcfd0af92406504e8f6275464b577284e154466694/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6170696c6974792f66696c616d656e742d6c6f63616c697a61626c652d7265736f75726365732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apility/filament-localizable-resources)[![GitHub Tests Action Status](https://camo.githubusercontent.com/efc2edeb19a645a9dd05f7b56b092c782a801a5252cfe514041ce060e42de850/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6170696c6974792f66696c616d656e742d6c6f63616c697a61626c652d7265736f75726365732f7068707374616e2e796d6c3f6272616e63683d6d6173746572266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/apility/filament-localizable-resources/actions?query=workflow%3Aphpstan+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/ee8baa6641fb8e84c4cf4e92d1f3445ab22858374cd12d8de074472aa86db7d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6170696c6974792f66696c616d656e742d6c6f63616c697a61626c652d7265736f75726365732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apility/filament-localizable-resources)

This package provides a re-usable trait for Filament Resources which adds support for localizing the resource labels.

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

[](#installation)

You can install the package via composer:

```
composer require apility/filament-localizable-resources
```

Usage
-----

[](#usage)

```
namespace App\Filament\Resources;

use Apility\Filament\Concerns\HasLocalizableResourceLabels;

use Filament\Resources\Resource;

class ArticleResource extends Resource
{
    use HasLocalizableResourceLabels;

    // ...
}
```

The trait modifies the default methods for retrieving the resource labels to use the `__()` helper function to translate the labels.

It will look for the translation key in the following format:

lang/``/resources.php

```
return [
    // The resource slug is used as the translation key
    'articles' => [
        'model_label' => 'article|articles',
        'navigation_label' => 'Articles', // Optional, defaults to model_label
        'slug' => 'articles', // Optional, will use model_label as fallback
    ],
];
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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

3

Last Release

898d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14291825?v=4)[Thomas Alrek](/maintainers/thomas-alrek)[@thomas-alrek](https://github.com/thomas-alrek)

---

Top Contributors

[![thomas-alrek](https://avatars.githubusercontent.com/u/14291825?v=4)](https://github.com/thomas-alrek "thomas-alrek (7 commits)")

---

Tags

laravelfilament

### Embed Badge

![Health badge](/badges/apility-filament-localizable-resources/health.svg)

```
[![Health](https://phpackages.com/badges/apility-filament-localizable-resources/health.svg)](https://phpackages.com/packages/apility-filament-localizable-resources)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[psalm/plugin-laravel

Psalm plugin for Laravel

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

Monitor the health of a Laravel application

87512.0M164](/packages/spatie-laravel-health)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[laravel/ai

The official AI SDK for Laravel.

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

PHPackages © 2026

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