PHPackages                             itadventure/datetime - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. itadventure/datetime

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

itadventure/datetime
====================

A date time helper for laravel, Convert string date and other more

1.1(8y ago)0461MITPHPPHP &gt;=5.4

Since Jan 7Pushed 8y agoCompare

[ Source](https://github.com/itadventure/datetime)[ Packagist](https://packagist.org/packages/itadventure/datetime)[ Docs](https://github.com/itadventure/datetime)[ RSS](/packages/itadventure-datetime/feed)WikiDiscussions master Synced 4d ago

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

### Installation

[](#installation)

You can install from laravel 5.1 &gt; .To install the package

```
$ composer require itadventure/datetime
```

If you need to use by alias just put this line into config/app.php

```
'DT'      => Itadventure\Datetime\DateTime::class,
```

### Helper functions

[](#helper-functions)

The available helper functions are given belows:

FunctionDetailsDT::dateWith12hTime($date)01-01-2018 01:00:00 PMDT::onlyDMY($date)01-01-2018### Example

[](#example)

```
$date = '2018-01-01 13:00';
echo DT::dateWith12hTime($date); //Output: 01-01-2018 01:00:00 PM
echo DT::onlyMY($date); //Output: January 2018

```

### Todos

[](#todos)

- Write MORE Functions

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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

2

Last Release

3050d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1aeda8fa461711b8527bd9e45f34d968213e3eed6395fd73443a00c19ec54a94?d=identicon)[itadventure](/maintainers/itadventure)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/itadventure-datetime/health.svg)

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

PHPackages © 2026

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