PHPackages                             dazza-dev/laravel-languages - 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. dazza-dev/laravel-languages

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

dazza-dev/laravel-languages
===========================

Laravel Languages provides a ready-to-use list of languages for your Laravel application.

v1.0.0(1y ago)06MITPHPPHP &gt;=7.4

Since Feb 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dazza-dev/Laravel-Languages)[ Packagist](https://packagist.org/packages/dazza-dev/laravel-languages)[ RSS](/packages/dazza-dev-laravel-languages/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Languages
=================

[](#laravel-languages)

The Laravel Languages package provides a ready-to-use list of languages for your Laravel application. This package simplifies the task of managing languages across your app, allowing you to easily retrieve language codes (alpha-2, alpha-3) and names for a variety of purposes like localization, language selection in forms, or general language-related data management.

Setup
-----

[](#setup)

- Install

```
composer require dazza-dev/laravel-languages
```

- Publish migrations and seeders

```
php artisan vendor:publish --tag="laravel-languages"
```

- Run migrations and seeders

```
php artisan migrate
php artisan db:seed --class=LanguagesSeeder
```

Usage
-----

[](#usage)

- Get all Languages

```
use DazzaDev\Languages\Facades\Languages;

Languages::all();
```

- Get only active languages

```
use DazzaDev\Languages\Facades\Languages;

Languages::active();
```

- Get language by code

```
use DazzaDev\Languages\Facades\Languages;

Languages::getByCode('en'); // Returns English
Languages::getByCode('eng'); // Also returns English
```

- Activate language by code or name

```
use DazzaDev\Languages\Facades\Languages;

Languages::activate('en');
Languages::activate('eng');
```

- Deactivate language by code or name

```
use DazzaDev\Languages\Facades\Languages;

Languages::deactivate('en');
Languages::deactivate('eng');
```

Contributions
-------------

[](#contributions)

Contributions are welcome. If you find any bugs or have ideas for improvements, please open an issue or send a pull request. Make sure to follow the contribution guidelines.

Author
------

[](#author)

Laravel Languages was created by [DAZZA](https://github.com/dazza-dev).

License
-------

[](#license)

This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance45

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a4e49637e94903e3732c3cf0c3e23b2e7a85286ab196f1ff078b0cea058f8b6?d=identicon)[dazza-dev](/maintainers/dazza-dev)

---

Top Contributors

[![dazza-dev](https://avatars.githubusercontent.com/u/21293561?v=4)](https://github.com/dazza-dev "dazza-dev (2 commits)")

---

Tags

languages

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dazza-dev-laravel-languages/health.svg)

```
[![Health](https://phpackages.com/badges/dazza-dev-laravel-languages/health.svg)](https://phpackages.com/packages/dazza-dev-laravel-languages)
```

###  Alternatives

[laravel-lang/lang

List of 126 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI

7.8k9.5M39](/packages/laravel-lang-lang)[nnjeim/world

Laravel countries, states, cities, currencies, languages and IP geolocation

970361.2k3](/packages/nnjeim-world)[gettext/languages

gettext languages with plural rules

7530.3M10](/packages/gettext-languages)[arcanedev/laravel-lang

Translations manager and checker for Laravel based on 'Laravel-Lang/lang' package.

7271.4k](/packages/arcanedev-laravel-lang)[loco/loco

Loco SDK for PHP, including REST API client

19626.8k4](/packages/loco-loco)[laravel-lang/moonshine

Translation for MoonShine admin panel

111.3M4](/packages/laravel-lang-moonshine)

PHPackages © 2026

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