Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Grumphp License Task Laravel Package

loophp/grumphp-license-task

GrumPHP extension adding a “license” task to ensure your project has a valid LICENSE file. Creates it if missing or offers to fix it if invalid. Supports common OSI licenses (MIT, BSD-3-Clause, LGPL, EUPL) with holder/year options.

View on GitHub
Deep Wiki
Context7

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor