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 yesterday

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

24

—

LowBetter than 31% of packages

Maintenance40

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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

512d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21293561?v=4)[Dazza](/maintainers/dazza-dev)[@dazza-dev](https://github.com/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

[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)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.9k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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