PHPackages                             flobbos/laravel-datable - 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. flobbos/laravel-datable

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

flobbos/laravel-datable
=======================

A tiny Laravel package for easily switching localized dates

1.1.0(4y ago)1176MITPHPPHP &gt;=7.2.0

Since Apr 12Pushed 4y agoCompare

[ Source](https://github.com/Flobbos/laravel-datable)[ Packagist](https://packagist.org/packages/flobbos/laravel-datable)[ RSS](/packages/flobbos-laravel-datable/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (6)Dependencies (2)Versions (9)Used By (0)

Laravel-Datable
===============

[](#laravel-datable)

[![Laravel Databale](img/laravel-datable.png)](img/laravel-datable.png)

**For easy date localization**

If you have trouble working with localized date formats used in combination with translations then this package might be for you. It simply provides a trait that you can add to your models which use to provide localized date outputs.

### Docs

[](#docs)

- [Installation](#installation)
- [Usage](#usage)
- [Laravel compatibility](#laravel-compatibility)

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

[](#installation)

#### Install the package

[](#install-the-package)

```
composer require flobbos/laravel-datable
```

That's it. Nothing else to do at this point.

Usage
-----

[](#usage)

#### Add it to the model

[](#add-it-to-the-model)

```
    namespace App;

    use Illuminate\Database\Eloquent\Model;
    use Flobbos\Datable;

    class Event extends Model {

        use Datable\Datable;

        protected $dates = [
            'starts_on',
            'ends_on'
        ];

    }
```

This is all you need to do to make it work. You won't notice a difference anywhere except when you're pulling formats like this:

```
    $your_model->starts_on->format('d. F Y');
```

The output will then have the localized month name instead of the default English.

Laravel compatibility
---------------------

[](#laravel-compatibility)

LaravelCrudable5.6&gt;=0.45.5&gt;=0.45.4&gt;=0.45.3&gt;=0.45.2&gt;=0.15.1&gt;=0.1

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity63

Established project with proven stability

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 ~361 days

Recently: every ~452 days

Total

6

Last Release

1557d ago

Major Versions

0.4 → 1.0.02022-03-25

PHP version history (2 changes)0.1PHP &gt;=5.6.0

1.0.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/74704c23d1a3ea66e1ddd18de4e90635ea4a2c28838e72ad49ba947694f7988e?d=identicon)[Flobbos](/maintainers/Flobbos)

---

Tags

laraveldatecarbon

### Embed Badge

![Health badge](/badges/flobbos-laravel-datable/health.svg)

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

###  Alternatives

[jenssegers/date

A date library to help you work with dates in different languages

1.8k11.4M83](/packages/jenssegers-date)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4821.5k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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