totten/license-data 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

totten/license-data

最新稳定版本:0.3

Composer 安装命令:

composer require totten/license-data

包简介

Dataset with open-source licenses

README 文档

README

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

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

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

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();

统计信息

  • 总下载量: 20.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固