# Carbon

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


Source: https://findsoftware.frbit.cloud/carbon-php/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- home: https://carbon.nesbot.com/
- repository: https://github.com/CarbonPHP/carbon
- docs: https://carbonphp.github.io/carbon/

### Identity

- status: active
- maintainer: Brian Nesbitt
- maintainerType: unknown
- parent: unknown
- firstRelease: 2012
- hqCountry: unknown

### Kind

- category: library
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.1
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: yes, over 200 languages and over 500 regional variants

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: composer

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 3
- latestReleaseDate: 2026-10-25

### Adoption

- githubStargazers: 205
- packagistDownloads: 779360684
- npmWeeklyDownloads: not applicable
- contributors: 338
- pluginCount: unknown
- packagistMonthlyDownloads: 24178324
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://carbon.nesbot.com/ (read 2026-11-04)
- urls: https://github.com/CarbonPHP/carbon (read 2026-11-04)
- urls: https://raw.githubusercontent.com/CarbonPHP/carbon/master/readme.md (read 2026-11-04)
- firstRelease: https://repo.packagist.org/p2/nesbot/carbon.json (read 2026-11-04)
- maintainer: https://github.com/CarbonPHP/carbon/blob/master/LICENSE (read 2026-11-04)
- language: https://github.com/CarbonPHP/carbon (read 2026-11-04)
- category: https://carbonphp.github.io/carbon/ (read 2026-11-04)
- runtime: https://repo.packagist.org/p2/nesbot/carbon.json (read 2026-11-04)
- runtimeMin: https://repo.packagist.org/p2/nesbot/carbon.json (read 2026-11-04)
- installMethod: https://carbonphp.github.io/carbon/guide/getting-started/installation.html (read 2026-11-04)
- installMethod: https://raw.githubusercontent.com/CarbonPHP/carbon/master/readme.md (read 2026-11-04)
- i18n: https://raw.githubusercontent.com/CarbonPHP/carbon/master/readme.md (read 2026-11-04)
- license: https://github.com/CarbonPHP/carbon (read 2026-11-04)
- licenseModel: https://github.com/CarbonPHP/carbon (read 2026-11-04)
- currentMajor: https://github.com/CarbonPHP/carbon/releases/tag/3.15.1 (read 2026-11-04)
- latestReleaseDate: https://github.com/CarbonPHP/carbon/releases/tag/3.15.1 (read 2026-11-04)
- githubStargazers: https://github.com/CarbonPHP/carbon (read 2026-11-04)
- contributors: https://api.github.com/repos/CarbonPHP/carbon/contributors (read 2026-11-04)
- packagistDownloads: https://packagist.org/packages/nesbot/carbon.json (read 2026-11-04)
- packagistMonthlyDownloads: https://packagist.org/packages/nesbot/carbon.json (read 2026-11-04)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
