New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

masterro/laravel-chronos

Replace Carbon\Carbon with Cake\Chronos\Chronos
31

Larablocks Analysis

masterro/laravel-chronos works with Laravel 5 (latest release v1.0.0, Sep 26, 2018), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Sep 26, 2018)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Sep 26, 2018.
  • No releases in the last 12 months.
  • First released: Aug 11, 2017.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require masterro/laravel-chronos
Latest Version:v1.0.0
Laravel:5
License:MIT
Last Updated:Sep 26, 2018
Links: GitHub  ·  Packagist
Maintainer: MasterRO

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock

Laravel Chronos

Laravel Chronos is a little wrapper for 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

From the command line, run:

composer require masterro/laravel-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

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.

Alternatives to masterro/laravel-chronos

jenssegers/date

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

11,788,004 1,794
kharanenka/laravel-scope-date

Scope for date field (Carbon)

45,140 1
nrngajurel/nepali-calendar

Bikram Sambat (Nepali) calendar conversion with configurable, tenant-friendly Ca...

1,695 0

Version History

Version Released Laravel License
v1.0.0 ^5.0,<5.8 MIT
v0.1.1 >=5.0 <5.6 MIT
v0.1.0 >=5.0 <5.6 MIT