GithubHelp home page GithubHelp logo

loophp / grumphp-license-task Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 86 KB

Provide the license task for GrumPHP.

Home Page: https://github.com/loophp/grumphp-license-task

License: MIT License

PHP 100.00%
grumphp-task license

grumphp-license-task's Introduction

Latest Stable Version GitHub stars Total Downloads GitHub Workflow Status Scrutinizer code quality Code Coverage License Donate!

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

composer require loophp/grumphp-license-task --dev

Then, edit your GrumPHP configuration file and register the extension:

grumphp:
  extensions:
    - loophp\GrumphpLicenseTask\Extension

Usage

Use the new license task provided by this extension:

taks:
  license:
    name: MIT
    date_from: 2021
    holder: Pol Dellaiera

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 with name.
  • 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

Contributing

Report bug on the issue tracker.

See the file CONTRIBUTING.md 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.

grumphp-license-task's People

Contributors

drupol avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.