All Projects → Comcast → php-legal-licenses

Comcast / php-legal-licenses

Licence: Apache-2.0 License
A utility to help generate a file containing information about dependencies including the full license text.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to php-legal-licenses

license-checker-php
CLI tool to verify used licenses in composer dependencies
Stars: ✭ 28 (-54.84%)
Mutual labels:  composer, license, license-management
Licenseplist
A license list generator of all your dependencies for iOS applications
Stars: ✭ 1,996 (+3119.35%)
Mutual labels:  license, license-management, licenses
Licensed
⚖️ ✔️ licensed is an interactive command line tool to help you choose and add licenses to your projects
Stars: ✭ 220 (+254.84%)
Mutual labels:  license, license-management
SimpleLicensing
A Go Based Licensing System for Digital Rights Management
Stars: ✭ 96 (+54.84%)
Mutual labels:  license, license-management
awesome-open-source-licensing
Cool links, tools & papers related to Open Source Licensing
Stars: ✭ 17 (-72.58%)
Mutual labels:  license, license-management
Truelicense
TrueLicense is an open source engine for license management on the JVM.
Stars: ✭ 94 (+51.61%)
Mutual labels:  license, license-management
Npm License Crawler
Analyzes license information for multiple node.js modules (package.json files) as part of your software project.
Stars: ✭ 168 (+170.97%)
Mutual labels:  license, license-management
eslint-plugin-license-header
Rules to validate the presence of license headers in source files.
Stars: ✭ 21 (-66.13%)
Mutual labels:  license-management, licenses
Ort
A suite of tools to assist with reviewing Open Source Software dependencies.
Stars: ✭ 446 (+619.35%)
Mutual labels:  license, license-management
software-project-blueprint
Project blueprint for Fintech Open Source Foundation hosted projects.
Stars: ✭ 21 (-66.13%)
Mutual labels:  legal, licenses
autogen
Automatically generate boilerplate license comments.
Stars: ✭ 76 (+22.58%)
Mutual labels:  license, licenses
Lc
licensechecker (lc) a command line application which scans directories and identifies what software license things are under producing reports as either SPDX, CSV, JSON, XLSX or CLI Tabular output. Dual-licensed under MIT or the UNLICENSE.
Stars: ✭ 93 (+50%)
Mutual labels:  license, license-management
Scancode Toolkit
🔎 ScanCode detects licenses, copyrights, package manifests & dependencies and more by scanning code ... to discover and inventory open source and third-party packages used in your code.
Stars: ✭ 1,134 (+1729.03%)
Mutual labels:  license, license-management
Lickey
software license management system
Stars: ✭ 706 (+1038.71%)
Mutual labels:  license, license-management
license-auditor
License Auditor helps you track and validate licenses inside your project.
Stars: ✭ 15 (-75.81%)
Mutual labels:  license, license-management
license-ls
Get a list of licenses used by a projects dependencies
Stars: ✭ 17 (-72.58%)
Mutual labels:  license, licenses
Licensecc
Software licensing, copy protection in C++. It has few dependencies and it's cross-platform.
Stars: ✭ 363 (+485.48%)
Mutual labels:  license, license-management
Fossology
FOSSology is an open source license compliance software system and toolkit. As a toolkit you can run license, copyright and export control scans from the command line. As a system, a database and web ui are provided to give you a compliance workflow. License, copyright and export scanners are tools used in the workflow.
Stars: ✭ 440 (+609.68%)
Mutual labels:  license, license-management
TrialMaker.Demo
A powerful yet straight-forward library suite that provides secure trial license generation and copy-protection features for .NET applications. It also supports premium license generation for expired free-trials.
Stars: ✭ 21 (-66.13%)
Mutual labels:  license, license-management
lisense
Sensible repository licensing for Humans
Stars: ✭ 23 (-62.9%)
Mutual labels:  license, license-management

StyleCI Status Total Downloads Latest Stable Version License

PHP Legal Licenses

Legal Licenses is a utility to help generate a single text file containing all of the important information about a project's dependencies. In some organizations, the use of Open Source Software (OSS) is strictly controlled and audited, and requires having every OSS library simply documented.

This utility will generate a licenses.md file in the root of your project that contains a list of all dependencies, the currently installed version, commit sha, its description, homepage, list of licenses, and full license text if it is present in the dependency source code directly. It receives this information from the composer.lock file, so you must have run a composer update or composer install at least once in order to use this utility.

Installation

If you need a utility such as this for your place of business, chances are, you will need it for more than a single project. Therefore, the easiest and reccommeded way to install this utility is as a global composer package:

composer global require comcast/php-legal-licenses

Usage

If you installed php-legal-licenses globally via composer, you should be able to run the script in any of your projects. Note, you must have run either composer update or composer install at least once, to create a composer.lock file.

$ cd /path/to/my/project
$ which php-legal-licenses
> ~/.composer/vendor/bin/php-legal-licenses
$ php-legal-licenses generate
> Generating Licenses file...
> Done!

You can also hide dependency version with --hide-version option:

$ php-legal-licenses generate --hide-version

You can output csv file with --csv option:

$ php-legal-licenses generate --csv

Or use both option:

$ php-legal-licenses generate --hide-version --csv

Example Output

Here is a snippet of the licenses file that would be generated for this utility itself:

# Project Licenses
This file was generated by the Legal Licenses utility. It contains the name, version and commit sha, description, homepage, and license information for every dependency in this project.

## Dependencies

### psr/log (Version 1.0.2 | 4ebe3a8)
Common interface for logging libraries
Homepage: https://github.com/php-fig/log
Licenses Used: MIT
Copyright (c) 2012 PHP Framework Interoperability Group

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


### symfony/console (Version v3.3.6 | b087823)
Symfony Console Component
Homepage: https://symfony.com
Licenses Used: MIT

...
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].