
Carbon
PHP library that extends DateTime with an API for creating, changing and formatting dates.
carbon.nesbot.com/repositorydocs
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
Rendering and deploy
Releases
Adoption
Sources
- 2026-11-04: links
carbon.nesbot.com/ - 2026-11-04: links, Written in, License, License model, GitHub stars
github.com/CarbonPHP/carbon - 2026-11-04: links, Install with, Multilingual
raw.githubusercontent.com/CarbonPHP/carbon/master/readme.md - 2026-11-04: First release, Runtime, Minimum runtime
repo.packagist.org/p2/nesbot/carbon.json - 2026-11-04: Maintainer
github.com/CarbonPHP/carbon/blob/master/LICENSE - 2026-11-04: Categories
carbonphp.github.io/carbon/ - 2026-11-04: Install with
carbonphp.github.io/carbon/guide/getting-started/installation.html - 2026-11-04: Current major version, Last release
github.com/CarbonPHP/carbon/releases/tag/3.15.1 - 2026-11-04: Contributors
api.github.com/repos/CarbonPHP/carbon/contributors - 2026-11-04: Packagist downloads, Packagist downloads a month
packagist.org/packages/nesbot/carbon.json