PHPackages                             mapo-89/laravel-permissions-i18n - 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. mapo-89/laravel-permissions-i18n

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

mapo-89/laravel-permissions-i18n
================================

JSON translations for Spatie Laravel Permission package

v1.0.0(5mo ago)04MITPHPPHP ^8.4CI passing

Since Mar 9Pushed 5mo agoCompare

[ Source](https://github.com/mapo-89/laravel-permissions-i18n)[ Packagist](https://packagist.org/packages/mapo-89/laravel-permissions-i18n)[ Docs](https://github.com/mapo-89/laravel-permissions-i18n)[ GitHub Sponsors](https://github.com/mapo-89)[ RSS](/packages/mapo-89-laravel-permissions-i18n/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Translations for Spatie Laravel Permission package
==================================================

[](#translations-for-spatie-laravel-permission-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/799a55f5666bae7d2d599ce6f9cd51003e73e3ff7dd6fa5561b97b7006ea0f54/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61706f2d38392f6c61726176656c2d7065726d697373696f6e732d6931386e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mapo-89/laravel-permissions-i18n)[![GitHub Tests Action Status](https://camo.githubusercontent.com/db0a4305297892b09f8bbae8e9839e8443ae5de35dfa2d5924db6fc38ed016ee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d61706f2d38392f6c61726176656c2d7065726d697373696f6e732d6931386e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/mapo-89/laravel-permissions-i18n/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/af1959367d1fa221453f1e8e25e99a13ee38d00e5658d901e606e8d194692112/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d61706f2d38392f6c61726176656c2d7065726d697373696f6e732d6931386e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/mapo-89/laravel-permissions-i18n/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/18fb50ef79767452e6fdbb75081b8be44006f82ebe03ac8d1e4999ed6c1fa67c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61706f2d38392f6c61726176656c2d7065726d697373696f6e732d6931386e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mapo-89/laravel-permissions-i18n)

This package provides ready-to-use translations (currently English and German) for all default messages of the [Spatie Permissions](https://github.com/spatie/laravel-permission) package.

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

[](#installation)

You can install the package via composer:

```
composer require mapo-89/laravel-permissions-i18n
```

Optionally, you can publish and run the translations with:

```
php artisan vendor:publish --tag="permissions-i18n-translations"
```

This will copy the JSON translation files into:

```
resources/lang/vendor/laravel-permissions-i18n/
```

Usage
-----

[](#usage)

The package *automatically registers the JSON translations*. You can use them directly with Laravel’s `__()` helper:

```
// Set the locale to German
app()->setLocale('de');

echo __('A permission `:permission` already exists for guard `:guard`.', [
    'permission' => 'edit articles',
    'guard' => 'web',
]);
// Output: "Eine Berechtigung `edit articles` existiert bereits für Guard `web`."
```

No additional initialization is required. Laravel will automatically fall back to English if the translation is not available.

Testing
-------

[](#testing)

```
composer test
```

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)

- [mapo-89](https://github.com/mapo-89)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance73

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

155d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/72ebd5bd16b28366468c5f9cdafe5350f343eaa054995d00f4b4640c5c27767b?d=identicon)[mapo-89](/maintainers/mapo-89)

---

Top Contributors

[![mapo-89](https://avatars.githubusercontent.com/u/118180259?v=4)](https://github.com/mapo-89 "mapo-89 (2 commits)")

---

Tags

laravelmapo-89laravel-permissions-i18n

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/mapo-89-laravel-permissions-i18n/health.svg)

```
[![Health](https://phpackages.com/badges/mapo-89-laravel-permissions-i18n/health.svg)](https://phpackages.com/packages/mapo-89-laravel-permissions-i18n)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

13.0k107.5M1.6k](/packages/spatie-laravel-permission)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.2k12.6M136](/packages/dedoc-scramble)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[elegantly/laravel-translator

All on one translations management for Laravel

6339.5k](/packages/elegantly-laravel-translator)[harris21/laravel-fuse

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

46273.9k](/packages/harris21-laravel-fuse)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

25060.1k](/packages/vormkracht10-laravel-mails)

PHPackages © 2026

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