PHPackages                             qwildz/localized-eloquent-date - 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. qwildz/localized-eloquent-date

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

qwildz/localized-eloquent-date
==============================

Multi-language support for Laravel Eloquent's dates

414.4kPHP

Since Feb 18Pushed 11y ago1 watchersCompare

[ Source](https://github.com/qwildz/localized-eloquent-date)[ Packagist](https://packagist.org/packages/qwildz/localized-eloquent-date)[ RSS](/packages/qwildz-localized-eloquent-date/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Localized Eloquent Date
=======================

[](#localized-eloquent-date)

This library extends Eloquent for multi-language date support. Replace the use of [Carbon](https://github.com/briannesbitt/Carbon) in Eloquent to [Laravel Date](https://github.com/jenssegers/laravel-date) with PHP Trait. And this library support [Ardent](https://github.com/laravelbook/ardent) too.

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

[](#installation)

Add the package to your `composer.json` and run `composer update`.

```
    {
        "require": {
            "qwildz/localized-eloquent-date": "dev-master"
        }
    }

```

Add the [Laravel Date](https://github.com/jenssegers/laravel-date) service provider in `app/config/app.php`:

```
    'Jenssegers\Date\DateServiceProvider',
```

And if you need, you can add an alias to use [Laravel Date](https://github.com/jenssegers/laravel-date) package:

```
    'Date'            => 'Jenssegers\Date\Date',
```

Usage
-----

[](#usage)

### Eloquent

[](#eloquent)

If your model use pure Eloquent, just change your model class to extends `Qwildz\LocalizedEloquentDate\LocalizedEloquent` clas.

```
use Qwildz\LocalizedEloquentDate\LocalizedEloquent as Model;

class MyModel extends Model {}
```

### Ardent

[](#ardent)

Or if you use Ardent, extends `Qwildz\LocalizedEloquentDate\LocalizedArdent` class.

```
use Qwildz\LocalizedEloquentDate\LocalizedArdent as Model;

class MyModel extends Model {}
```

### Other

[](#other)

You still can use the library if you don't use both above with using `Qwildz\LocalizedEloquentDate\LocalizedDateTrait` trait.

```
use Qwildz\LocalizedEloquentDate\LocalizedDateTrait;

class MyModel extends Model {

    use LocalizedDateTrait;

    ...
}
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/qwildz-localized-eloquent-date/health.svg)

```
[![Health](https://phpackages.com/badges/qwildz-localized-eloquent-date/health.svg)](https://phpackages.com/packages/qwildz-localized-eloquent-date)
```

###  Alternatives

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[devaslanphp/auto-translate

Auto generate translation JSON files

6627.3k](/packages/devaslanphp-auto-translate)

PHPackages © 2026

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