Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
php-composer-spdx-licenses /
Delete
Unzip
Name
Size
Permission
Date
Action
README.md
1.56
KB
-rw-r--r--
2016-09-28 09:17
changelog.Debian.gz
411
B
-rw-r--r--
2017-01-26 05:58
changelog.gz
709
B
-rw-r--r--
2016-09-28 09:17
copyright
1.28
KB
-rw-r--r--
2016-03-05 12:23
Save
Rename
composer/spdx-licenses ====================== SPDX licenses list and validation library. Originally written as part of [composer/composer](https://github.com/composer/composer), now extracted and made available as a stand-alone library. [](https://travis-ci.org/composer/spdx-licenses) Installation ------------ Install the latest version with: ```bash $ composer require composer/spdx-licenses ``` Basic Usage ----------- ```php <?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 input is a valid SPDX license expression $licenses->validate($input); ``` > Read the [specifications](https://spdx.org/SPDX-specifications/spdx-version-2.0) > to find out more about valid license expressions. 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. Source ------ License information taken from [spdx.org](https://spdx.org/). * [Licenses](https://spdx.org/licenses/index.html) * [License Exceptions](https://spdx.org/licenses/exceptions-index.html)