2017 © Pedro Peláez
 

library spdx-licenses

SPDX licenses list and validation library.

image

composer/spdx-licenses

SPDX licenses list and validation library.

  • Monday, May 14, 2018
  • by alcohol
  • Repository
  • 8 Watchers
  • 171 Stars
  • 6,481,563 Installations
  • PHP
  • 15 Dependents
  • 1 Suggesters
  • 11 Forks
  • 0 Open issues
  • 12 Versions
  • 14 % Grown

The README.md

composer/spdx-licenses

SPDX (Software Package Data Exchange) licenses list and validation library., (*1)

Originally written as part of composer/composer, now extracted and made available as a stand-alone library., (*2)

Continuous Integration, (*3)

Installation

Install the latest version with:, (*4)

$ composer require composer/spdx-licenses

Basic Usage

<?php

use Composer\Spdx\SpdxLicenses;

$licenses = new SpdxLicenses();

// get a license by identifier
$licenses->getLicenseByIdentifier('MIT');

// get a license exception by identifier
$licenses->getExceptionByIdentifier('Autoconf-exception-3.0');

// get a license identifier by name
$licenses->getIdentifierByName('MIT License');

// check if a license is OSI approved by identifier
$licenses->isOsiApprovedByIdentifier('MIT');

// check if a license identifier is deprecated
$licenses->isDeprecatedByIdentifier('MIT');

// check if input is a valid SPDX license expression
$licenses->validate($input);

Read the specifications to find out more about valid license expressions., (*5)

Requirements

  • PHP 5.3.2 is required but using the latest version of PHP is highly recommended.

License

composer/spdx-licenses is licensed under the MIT License, see the LICENSE file for details., (*6)

Source

License information is curated by SPDX. The data is pulled from the License List Data repository., (*7)

The Versions

14/05 2018

dev-master

9999999-dev

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php ^5.3.2 || ^7.0

 

The Development Requires

validator license spdx

30/04 2018

1.4.0

1.4.0.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php ^5.3.2 || ^7.0

 

The Development Requires

validator license spdx

31/01 2018

1.3.0

1.3.0.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php ^5.3.2 || ^7.0

 

The Development Requires

validator license spdx

03/01 2018

1.2.0

1.2.0.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php ^5.3.2 || ^7.0

 

The Development Requires

validator license spdx

03/04 2017

1.1.6

1.1.6.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php ^5.3.2 || ^7.0

 

The Development Requires

validator license spdx

28/09 2016

1.1.5

1.1.5.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php ^5.3.2 || ^7.0

 

The Development Requires

validator license spdx

04/05 2016

1.1.4

1.1.4.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php ^5.3.2 || ^7.0

 

The Development Requires

validator license spdx

25/03 2016

1.1.3

1.1.3.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php ^5.3.2 || ^7.0

 

The Development Requires

validator license spdx

05/10 2015

1.1.2

1.1.2.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

validator license spdx

07/09 2015

1.1.1

1.1.1.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

validator license spdx

17/07 2015

1.1.0

1.1.0.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

validator license spdx

15/07 2015

1.0.0

1.0.0.0

SPDX licenses list and validation library.

  Sources   Download

MIT

The Requires

 

The Development Requires

validator license spdx