PHPackages                             masterro/laravel-chronos - 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. masterro/laravel-chronos

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

masterro/laravel-chronos
========================

Replace Carbon\\Carbon with Cake\\Chronos\\Chronos

v1.0.0(7y ago)030MITPHP

Since Aug 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/MasterRO94/laravel-chronos)[ Packagist](https://packagist.org/packages/masterro/laravel-chronos)[ RSS](/packages/masterro-laravel-chronos/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

 [![](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)

 [ ![Latest Stable Version](https://camo.githubusercontent.com/8a6e5b1b5aa84855781abf7abcc38501ef2f975b9d436a0e44dd49d11b1084d8/68747470733a2f2f706f7365722e707567782e6f72672f6d6173746572726f2f6c61726176656c2d6368726f6e6f732f762f737461626c65) ](https://packagist.org/packages/masterro/laravel-chronos) [ ![Total Downloads](https://camo.githubusercontent.com/7ab4d3d43a8df861a4a09bdeb6e20268030b7d60895d98032a22d4fdcc2987e9/68747470733a2f2f706f7365722e707567782e6f72672f6d6173746572726f2f6c61726176656c2d6368726f6e6f732f646f776e6c6f616473) ](https://packagist.org/packages/masterro/laravel-chronos) [ ![Latest Unstable Version](https://camo.githubusercontent.com/d303c1ccb454a05585d3e0f6f57cd73961e0de058b1c7f0d0726544b854640b3/68747470733a2f2f706f7365722e707567782e6f72672f6d6173746572726f2f6c61726176656c2d6368726f6e6f732f762f756e737461626c65) ](https://packagist.org/packages/masterro/laravel-chronos) [ ![License](https://camo.githubusercontent.com/34aea180a95f39806d666802fc8c5cad21334830207b47b97d87b3a16a4d6288/68747470733a2f2f706f7365722e707567782e6f72672f6d6173746572726f2f6c61726176656c2d6368726f6e6f732f6c6963656e7365) ](https://github.com/MasterRO94/laravel-chronos/blob/master/LICENSE) [ ![composer.lock](https://camo.githubusercontent.com/42966c3efbee84f46b831b4efb7437ccf8166a241729db9403fe902b1542a499/68747470733a2f2f706f7365722e707567782e6f72672f6d6173746572726f2f6c61726176656c2d6368726f6e6f732f636f6d706f7365726c6f636b) ](https://github.com/MasterRO94/laravel-chronos/blob/master/LICENSE)

Laravel Chronos
===============

[](#laravel-chronos)

Laravel Chronos is a little wrapper for [CakePHP/Chronos](https://github.com/cakephp/chronos) package with one difference - it uses Laravel's Macroable trait. It also has a Trait for replacing Carbon/Carbon with Chronos for Eloquent models. Chronos is like Carbon but *Immutable* and *Macroable*.

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

[](#installation)

From the command line, run:

```
composer require masterro/laravel-chronos

```

Replace Carbon with Chronos
---------------------------

[](#replace-carbon-with-chronos)

Add `ReplaceCarbonWithChronos` trait to your base model, or to models you want to use Chronos instead of Carbon. Don't forget add `MasterRO\Chronos\ReplaceCarbonWithChronos` to use section.

Attention
---------

[](#attention)

*Dont't confuse `MasterRO\Chronos\Chronos` with `Cake\Chronos\Chronos` because `MasterRO\Chronos\Chronos` is macroable and `Cake\Chronos\Chronos` is not.*`MasterRO\Chronos\Chronos` implements ChronosContract so you can check and typehint inerface insteadof class name.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

2787d ago

Major Versions

v0.1.1 → v1.0.02018-09-26

### Community

Maintainers

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

---

Tags

laraveldatecarbonchronos

### Embed Badge

![Health badge](/badges/masterro-laravel-chronos/health.svg)

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

###  Alternatives

[hekmatinasser/verta

This Package helps developers to work with Jalali Datetime class for Laravel Framework PHP

657530.5k27](/packages/hekmatinasser-verta)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[maherelgamil/arabicdatetime

Easy and useful tool to generate arabic or hijri date with multi-language support for laravel

414.5k](/packages/maherelgamil-arabicdatetime)

PHPackages © 2026

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