FindSoftware

Carbon

PHP library that extends DateTime with an API for creating, changing and formatting dates.

Carbon is a PHP library that extends the built-in DateTime class with an API for creating, changing and comparing dates and for formatting them. Dates are immutable: each operation returns a new instance. The library covers time zone conversion, human-readable differences such as “2 days ago”, and output in more than 200 languages. It is installed with Composer, or by extracting the release archive into a project and requiring its autoload file.

Worth knowing

The repository is moving from briannesbitt/Carbon to CarbonPHP/carbon. The README says code on both is kept up to date and asks people to search issues and pull requests in both.

Identity

Status
Active
Maintainer
Brian Nesbitt5
First release
20124

Rendering and deploy

Install with
composer37

Releases

Current major version
38
Last release
2026-10-258

Adoption

GitHub stars
2052
Packagist downloads
779,360,68410
Contributors
3389
Packagist downloads a month
24,178,32410

Why these figures do not compare

Sources

  1. 2026-11-04: links
    carbon.nesbot.com/
  2. 2026-11-04: links, Written in, License, License model, GitHub stars
    github.com/CarbonPHP/carbon
  3. 2026-11-04: links, Install with, Multilingual
    raw.githubusercontent.com/CarbonPHP/carbon/master/readme.md
  4. 2026-11-04: First release, Runtime, Minimum runtime
    repo.packagist.org/p2/nesbot/carbon.json
  5. 2026-11-04: Maintainer
    github.com/CarbonPHP/carbon/blob/master/LICENSE
  6. 2026-11-04: Categories
    carbonphp.github.io/carbon/
  7. 2026-11-04: Install with
    carbonphp.github.io/carbon/guide/getting-started/installation.html
  8. 2026-11-04: Current major version, Last release
    github.com/CarbonPHP/carbon/releases/tag/3.15.1
  9. 2026-11-04: Contributors
    api.github.com/repos/CarbonPHP/carbon/contributors
  10. 2026-11-04: Packagist downloads, Packagist downloads a month
    packagist.org/packages/nesbot/carbon.json

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON