PHPackages                             hassankerdash/laravel-locales - 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. hassankerdash/laravel-locales

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

hassankerdash/laravel-locales
=============================

Language files in Laravel applications.

0.3(2y ago)027MITPHP

Since Feb 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kerdash/laravel-locales)[ Packagist](https://packagist.org/packages/hassankerdash/laravel-locales)[ RSS](/packages/hassankerdash-laravel-locales/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Laravel locales
---------------

[](#laravel-locales)

Language files in Laravel applications.

### Installation

[](#installation)

You can install the package via Composer by running the following command:

```
composer require hassankerdash/laravel-locales

```

Usage
-----

[](#usage)

You can use the `lang:locale` Artisan command to publish language files for specific languages in your Laravel application.

### Command Syntax:

[](#command-syntax)

```
php artisan lang:locale --lang=en,ar
```

This command will publish language files for the English (en) and Arabic (ar) languages.

Make sure to replace `en` and `ar` with the language codes you want to publish.

### Example:

[](#example)

To publish language files for English and Arabic:

```
php artisan lang:locale --lang=en,ar
```

### License

[](#license)

This package is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

### Author

[](#author)

- [Hassan Kerdash](https://github.com/kerdash)

### Contributing

[](#contributing)

Contributions are welcome! Feel free to submit issues or pull requests on [GitHub](https://github.com/kerdash/laravel-locales).

### Support

[](#support)

For any questions or support, please contact Hassan Kerdash via [GitHub Issues](https://github.com/kerdash/laravel-locales/issues).

### Security Vulnerabilities

[](#security-vulnerabilities)

If you discover a security vulnerability within this package, please send an e-mail to Hassan Kerdash via . All security vulnerabilities will be promptly addressed.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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

Every ~0 days

Total

3

Last Release

859d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/38482f5c31b469b9359a4095b0da1e66d211df5bd6eaecf4f180e18eb04ae0fb?d=identicon)[HassanKerdash](/maintainers/HassanKerdash)

---

Top Contributors

[![HKerdash](https://avatars.githubusercontent.com/u/52297419?v=4)](https://github.com/HKerdash "HKerdash (4 commits)")

### Embed Badge

![Health badge](/badges/hassankerdash-laravel-locales/health.svg)

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

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

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