Download the PHP package ergebnis/license without Composer
On this page you can find all versions of the php package ergebnis/license. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ergebnis/license
More information about ergebnis/license
Files in ergebnis/license
Package license
Short Description Provides an abstraction of an open-source license.
License MIT
Homepage https://github.com/ergebnis/license
Informations about the package license
license
This project provides a composer
package with an abstraction of an open-source license.
Installation
Run
Usage
Sometimes open source maintainers complain about the burden of managing an open-source project. Sometimes they argue that contributors opening pull requests to update license years unnecessarily increase their workload.
Of course, all of this can be automated, can't it?
Configuration for friendsofphp/php-cs-fixer
With friendsofphp/php-cs-fixer
you can use the configuration file .php-cs-fixer.php
to
- save the license to a file, e.g.
LICENSE
orLICENSE.md
- specify a file-level header using the
header_comment
fixer that will be replaced in PHP files
Here's an example of a .php-cs-fixer.php
file for an open-source project using the MIT
license type:
:bulb: Also take a look at .php-cs-fixer.php
of this project.
Here's an example of a .php-cs-fixer.php
file for a closed-source project using the None
license type:
GitHub Actions
When using GitHub Actions, you can set up a scheduled workflow that opens a pull request to the license year automatically on January 1st:
:bulb: See crontab.guru
if you need help scheduling the workflow.
Note that pull requests opened or commits pushed by GitHub Actions will not trigger a build. As an alternative, you can set up a bot user:
Types
The following license types are currently available:
Ergebnis\License\Type\MIT
Ergebnis\License\Type\MIT
Ergebnis\License\Type\None
:bulb: Need a different license type? Feel free to open a pull request!
Changelog
The maintainers of this project record notable changes to this project in a changelog.
Contributing
The maintainers of this project suggest following the contribution guide.
Code of Conduct
The maintainers of this project ask contributors to follow the code of conduct.
General Support Policy
The maintainers of this project provide limited support.
You can support the maintenance of this project by sponsoring @localheinz or requesting an invoice for services related to this project.
PHP Version Support Policy
This project supports PHP versions with active and security support.
The maintainers of this project add support for a PHP version following its initial release and drop support for a PHP version when it has reached the end of security support.
Security Policy
This project has a security policy.
License
This project uses the MIT license.
Social
Follow @localheinz and @ergebnis on Twitter.
All versions of license with dependencies
ext-filter Version *