PHPackages                             totten/license-data - 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. totten/license-data

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

totten/license-data
===================

Dataset with open-source licenses

0.4(3mo ago)122.0k↓27.6%21PHP

Since Dec 9Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/totten/license-data)[ Packagist](https://packagist.org/packages/totten/license-data)[ RSS](/packages/totten-license-data/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (1)

This project includes the text of common open-source licenses as well as an index with titles and identifiers. It's intended to supplement developer tools (like "civix") -- when "civix" (et al) initializes a new project, it prompts the developer to choose a license and loads the appropriate license text (from license-data).

index.csv
---------

[](#indexcsv)

The index is in a spreadsheet file, index.csv, with columns:

- Short name
- Title
- Relative path of the license's text file
- Absolute URL of a copy of the license

Tokens
------

[](#tokens)

The license may include some tokens which should be replaced when applied to a given project:

- TITLE: The name of the work being licensed
- OWNER: The person or entity which holds copyright on the code and which licenses the code.
- YEAR: The year(s) of authorship

Helper classes
--------------

[](#helper-classes)

If you're using PHP to process the data and don't want to sully the code with references to specific file paths or formats, then use the autoloaded classes \\LicenseData\\Repository and \\LicenseData\\License. For example:

```
$licenses = new \LicenseData\Repository();
echo $licenses->get('LGPL-2.1+')->getText();
```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance82

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71% of commits — single point of failure

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

Total

4

Last Release

90d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1336047?v=4)[Tim Otten](/maintainers/totten)[@totten](https://github.com/totten)

---

Top Contributors

[![totten](https://avatars.githubusercontent.com/u/1336047?v=4)](https://github.com/totten "totten (22 commits)")[![semseysandor](https://avatars.githubusercontent.com/u/51154903?v=4)](https://github.com/semseysandor "semseysandor (5 commits)")[![Ash-Crow](https://avatars.githubusercontent.com/u/765956?v=4)](https://github.com/Ash-Crow "Ash-Crow (3 commits)")[![mattsches](https://avatars.githubusercontent.com/u/68414?v=4)](https://github.com/mattsches "mattsches (1 commits)")

### Embed Badge

![Health badge](/badges/totten-license-data/health.svg)

```
[![Health](https://phpackages.com/badges/totten-license-data/health.svg)](https://phpackages.com/packages/totten-license-data)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[touskar/php-socket-io-event-emitter

2612.4k](/packages/touskar-php-socket-io-event-emitter)[eureka2/g6k

Generator of simulator of calculation (calculator)

235.5k](/packages/eureka2-g6k)

PHPackages © 2026

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