Download the PHP package loophp/grumphp-license-task without Composer
On this page you can find all versions of the php package loophp/grumphp-license-task. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download loophp/grumphp-license-task
More information about loophp/grumphp-license-task
Files in loophp/grumphp-license-task
Package grumphp-license-task
Short Description Provide a task for GrumPHP that check if the License file is valid.
License MIT
Informations about the package grumphp-license-task
![Latest Stable Version][latest stable version] ![GitHub stars][github stars] ![Total Downloads][total downloads] ![GitHub Workflow Status][github workflow status] ![Scrutinizer code quality][code quality] ![Code Coverage][code coverage] ![License][license] ![Donate!][donate github]
GrumPHP License Task
Description
This package provides a new GrumPHP task: license
.
This task ensure that your project contains a valid license.
Features
Make sure the LICENSE
file exists in your project.
If it already exists, it make sure it is valid. If it is not valid, GrumPHP will propose to fix it for you.
If it doesn't exist, GrumPHP will create the file.
Installation
Then, edit your GrumPHP configuration file and register the extension:
Usage
Use the new license
task provided by this extension:
Available options
name
: (string) The OSI name of the license (see Available license).input
: (string) The filepath to the file to use as license. Cannot be used in conjuction withname
.output
: (string) The output filename to use to save the license in.date_from
: (int) The 'from' date in year.holder
: (string) The holder's name.
Available licenses
- BSD-3-Clause
- EUPL-1.2
- MIT
- LGPL-2.0
- LGPL-2.1
- LGPL-3.0
- (submit an issue/pr to add more)
Contributing
Report bug on the issue tracker.
See the file [CONTRIBUTING.md][18] but feel free to contribute to this library by sending Github pull requests.
Changelog
See CHANGELOG.md for a changelog based on git commits.
For more detailed changelogs, please check the release changelogs.
[latest stable version]: https://img.shields.io/packagist/v/loophp/grumphp-license-task.svg?style=flat-square [github stars]: https://img.shields.io/github/stars/loophp/grumphp-license-task.svg?style=flat-square [total downloads]: https://img.shields.io/packagist/dt/loophp/grumphp-license-task.svg?style=flat-square [github workflow status]: https://img.shields.io/github/workflow/status/loophp/grumphp-license-task/Unit%20tests?style=flat-square [code quality]: https://img.shields.io/scrutinizer/quality/g/loophp/grumphp-license-task/master.svg?style=flat-square
[code coverage]: https://img.shields.io/scrutinizer/coverage/g/loophp/grumphp-license-task/master.svg?style=flat-square [license]: https://img.shields.io/packagist/l/loophp/grumphp-license-task.svg?style=flat-square [donate github]: https://img.shields.io/badge/Sponsor-Github-brightgreen.svg?style=flat-square [donate paypal]: https://img.shields.io/badge/Sponsor-Paypal-brightgreen.svg?style=flat-square
[18]: https://github.com/loophp/grumphp-license-task/blob/master/.github/CONTRIBUTING.md