PHPackages                             seymuromarov/dater - 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. [API Development](/categories/api)
4. /
5. seymuromarov/dater

ActiveLaravel[API Development](/categories/api)

seymuromarov/dater
==================

Laravel api for converting date for humans reading

v2.0(7y ago)028MITPHPPHP &gt;=5.5.0

Since Jan 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/seymuromarov/Dater)[ Packagist](https://packagist.org/packages/seymuromarov/dater)[ RSS](/packages/seymuromarov-dater/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

About Project
-------------

[](#about-project)

Laravel api for converting date for humans reading (without depending on server localization)

Requirements
------------

[](#requirements)

- [Composer](https://getcomposer.org/)
- [Carbon](https://carbon.nesbot.com/)
- [Laravel](https://laravel.com/)

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

[](#installation)

Require package:

```
composer require seymuromarov/dater
```

For laravel versions below 5.5 you must add provider and alias if your version is 5.5+ you must skip adding alias and provider
Now add the service provider in config/app.php file:

```
'providers' => [
    // ...
        Seymuromarov\Dater\DaterServiceProvider::class,
],

```

after this add alias in config/app.php file:

```
'aliases' => [
 //...
        'Dater' => Seymuromarov\Dater\Facades\Dater::class,
 ],

```

use command (optional):

```
composer dump-autoload

```

now u can use api like this

```
use Seymuromarov\Dater\Facades\Dater; //it is not necessary

    $date="2018-01-05";
    $format="d m y";
    $lang="en"; // az, ru u can ask for more languages
    Dater::convert($date,$format,$lang);
    Dater::convert($date,$format); //$default lang is english
    //result: 5 january 2017

```

more formats are available
available formats are :

```
//m,m-1,m-2,m-3,m-4,m-5,m-6... it will just grab substring from month with given length
//d only 1 day format is available
//y only 1 year format is available

```

Some examples are given below :

```

use Seymuromarov\Dater\Facades\Dater; //it is not necessary

    $date="2018-01-05";
    $format="d m-3 y";
    Dater::convert($date,$format);
    //result: 5 jan 2017
    $format="d m-3 y2";
    Dater::convert($date,$format);
    //result: 5 jan 17
    $format="m-2 d y2";
    Dater::convert($date,$format);
    //result: ja 5 17

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

2685d ago

Major Versions

v1.6 → v2.02019-01-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a4eb669d36468bd6546214f66908f77a5ad4b450b02cd59f03d86c3bfc40d52?d=identicon)[seymuromarov](/maintainers/seymuromarov)

---

Top Contributors

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

---

Tags

apilaravelazerbaijandate-conversionformat-datehuman dateDaterdate convertingreadable datedate api

### Embed Badge

![Health badge](/badges/seymuromarov-dater/health.svg)

```
[![Health](https://phpackages.com/badges/seymuromarov-dater/health.svg)](https://phpackages.com/packages/seymuromarov-dater)
```

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[d-scribe/laraquick

A collection of classes to be extended/used in laravel applications for quick development

371.8k1](/packages/d-scribe-laraquick)

PHPackages © 2026

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