PHPackages                             jobmetric/laravel-language - 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. jobmetric/laravel-language

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

jobmetric/laravel-language
==========================

It is a standard package for managing different system languages in Laravel.

2.5.0(6mo ago)61174MITPHPPHP &gt;=8.2CI passing

Since Feb 26Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/jobmetric/laravel-language)[ Packagist](https://packagist.org/packages/jobmetric/laravel-language)[ Docs](https://doc.jobmetric.net/package/laravel-language)[ RSS](/packages/jobmetric-laravel-language/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (6)Versions (31)Used By (4)

[![Contributors](https://camo.githubusercontent.com/cfa60fe7d794c6cebcf3cc5955d610e7b9aa64b17f439eda7eb1e61bf13150e4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6a6f626d65747269632f6c61726176656c2d6c616e67756167652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/jobmetric/laravel-language/graphs/contributors)[![Forks](https://camo.githubusercontent.com/8593004ef49fe439f827ba7bf3be3621dc21c64f322c4e99dc516f91013c3c6a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6a6f626d65747269632f6c61726176656c2d6c616e67756167652e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d466f726b)](https://github.com/jobmetric/laravel-language/network/members)[![Stargazers](https://camo.githubusercontent.com/36a12656fad249ef1869a2bdce34cd97a03c2655e0527e930f586c4794a58b34/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a6f626d65747269632f6c61726176656c2d6c616e67756167652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/jobmetric/laravel-language/stargazers)[![MIT License](https://camo.githubusercontent.com/04ed0a2225ea262ee1a87875b9cb7452be93cf051cb960d5c61252aa182b717b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6a6f626d65747269632f6c61726176656c2d6c616e67756167652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/jobmetric/laravel-language/blob/master/LICENCE.md)[![LinkedIn](https://camo.githubusercontent.com/eb590f47a3fca74584d18db8dd3e985ae3d786f50cd41b7530c3af3885da233c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e6b6564496e2d626c75652e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6c696e6b6564696e26636f6c6f72423d353535)](https://linkedin.com/in/majidmohammadian)

Laravel Language
================

[](#laravel-language)

**Build Language Management. Simply and Powerfully.**

Laravel Language simplifies language management in Laravel applications. Stop creating custom language tables manually and start building multilingual applications with confidence. It provides a clean, framework-native way to manage application languages with first-class validation rules, events, and a fluent query API—perfect for building global applications, e-commerce platforms, and content management systems. This is where powerful language management meets developer-friendly simplicity—giving you complete control over locales, calendars, and text directions without the complexity.

Why Laravel Language?
---------------------

[](#why-laravel-language)

### Simple API

[](#simple-api)

Laravel Language provides a clean, intuitive API for managing languages. Store, update, delete, and query languages with simple method calls through the service or facade.

### Calendar Awareness

[](#calendar-awareness)

Support for multiple calendar systems: Gregorian, Jalali, Hijri, Hebrew, Buddhist, Coptic, Ethiopian, and Chinese. Each language can have its own calendar preference.

### Validation Rules

[](#validation-rules)

Built-in validation rules: `CheckLocaleRule`, `LanguageExistRule`, and `CheckFutureDateRule` ensure data integrity and validate locale codes and dates based on calendar systems.

### Middleware Support

[](#middleware-support)

Built-in middleware for setting language and timezone automatically based on user preferences or request parameters. No manual locale management needed.

What is Language Management?
----------------------------

[](#what-is-language-management)

Language management is the process of managing multiple languages in your application, including locale settings, text direction (LTR/RTL), calendar systems, and formatting preferences. Traditional approaches often involve:

- Creating custom language tables manually
- Writing complex queries to filter and sort languages
- Managing locale settings manually
- Duplicating code across different parts of the application

Laravel Language solves these challenges by providing:

- **Unified System**: Single table for all language data
- **Calendar Support**: Multiple calendar systems out of the box
- **Simple API**: Clean methods for all operations
- **Event Integration**: Built-in events for extensibility
- **Query Helpers**: Easy methods for common queries

Consider a global e-commerce platform that needs to support Persian (Jalali calendar, RTL), Arabic (Hijri calendar, RTL), and English (Gregorian calendar, LTR). With Laravel Language, you can manage languages programmatically, set locales automatically through middleware, format dates based on calendar systems, handle text direction per language, and integrate with notification systems through events. The power of language management lies not only in supporting multiple languages but also in making it easy to manage calendars, directions, and formatting throughout your application.

What Awaits You?
----------------

[](#what-awaits-you)

By adopting Laravel Language, you will:

- **Build multilingual applications** - Support multiple languages with different calendars and directions
- **Simplify language management** - Single API for all language operations
- **Support multiple calendars** - Gregorian, Jalali, Hijri, and more
- **Handle RTL/LTR automatically** - Text direction management built-in
- **Enable automatic locale detection** - Middleware handles locale and timezone
- **Maintain clean code** - Simple, intuitive API that follows Laravel conventions

Quick Start
-----------

[](#quick-start)

Install Laravel Language via Composer:

```
composer require jobmetric/laravel-language
```

Then publish the migration and run it:

```
php artisan vendor:publish --tag=language-migrations
php artisan migrate
```

Documentation
-------------

[](#documentation)

Ready to transform your Laravel applications? Our comprehensive documentation is your gateway to mastering Laravel Language:

**[📚 Read Full Documentation →](https://jobmetric.github.io/packages/laravel-language/)**

The documentation includes:

- **Getting Started** - Quick introduction and installation guide
- **Language Service** - Core service for CRUD operations
- **Language Model** - Eloquent model with query scopes
- **Calendar Type Enum** - Calendar system types
- **Validation Rules** - Built-in rules for locale and language validation
- **Middleware** - Automatic locale and timezone setting
- **Events** - Hook into language lifecycle
- **Support Classes** - Helper functions for date formatting and timezone
- **Real-World Examples** - See how it works in practice

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

[](#contributing)

Thank you for participating in `laravel-language`. A contribution guide can be found [here](CONTRIBUTING.md).

License
-------

[](#license)

The `laravel-language` is open-sourced software licensed under the MIT license. See [License File](LICENCE.md) for more information.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance68

Regular maintenance activity

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 94.7% 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 ~23 days

Total

30

Last Release

184d ago

Major Versions

1.17.0 → 2.0.02025-08-20

PHP version history (2 changes)1.0.0PHP &gt;=8.0.1

2.0.0PHP &gt;=8.2

### Community

Maintainers

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

---

Top Contributors

[![MajidMohammadian](https://avatars.githubusercontent.com/u/2099965?v=4)](https://github.com/MajidMohammadian "MajidMohammadian (107 commits)")[![Bagheri-Matin](https://avatars.githubusercontent.com/u/239607447?v=4)](https://github.com/Bagheri-Matin "Bagheri-Matin (5 commits)")[![hassan7303](https://avatars.githubusercontent.com/u/128932029?v=4)](https://github.com/hassan7303 "hassan7303 (1 commits)")

---

Tags

languagelanguage-managerlanguage-modellanguageslaravellaravel-packagepackagelaravellanguagepackagemulti-languagejobmetric

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jobmetric-laravel-language/health.svg)

```
[![Health](https://phpackages.com/badges/jobmetric-laravel-language/health.svg)](https://phpackages.com/packages/jobmetric-laravel-language)
```

###  Alternatives

[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.4k](/packages/typicms-base)[pmochine/laravel-tongue

🎉 Finally a subdomain localization that works how you want it to work. 🌐

4158.4k](/packages/pmochine-laravel-tongue)[longman/laravel-multilang

Package to integrate multi language (multi locale) functionality in Laravel 5.x

5414.6k1](/packages/longman-laravel-multilang)

PHPackages © 2026

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