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 Laravel Package

phpro/grumphp

GrumPHP is a Composer plugin that installs Git hooks to run quality checks on every commit. It executes configured tasks like tests and linters, blocks failing commits, and helps teams enforce coding standards and best practices automatically.

View on GitHub
Deep Wiki
Context7

Test Suites

Don't want to run all the tests during a commit? Do you want to specify some pre-defined tasks you want to run? It is easy to configure and run custom testsuites in GrumPHP Test suites live under their own namespace in the parameters part.

# grumphp.yml
grumphp:
    testsuites:
        suitename:
            tasks:
                - phpcs
                - phpspec

It is possible to define multiple testsuites in the grumphp.yml file. Every test-suite has a unique name that can be used in the run command. A test-suite has the following parameters:

tasks

Default: []

A test-suite consists of a list of tasks that should be executed. You can use any registered task name in the list of tasks. The list is validated against this list of registered tasks. When you enter an unknown task, an error will be thrown.

Overriding git hook test-suites

To make it possible to define which tests should run during a git hook, we made it possible to use one of following pre-defined test suites:

# grumphp.yml
grumphp:
    testsuites:
        # Specify the test-suite for the git:commit-msg command:
        git_commit_msg:
            tasks: []
        # Specify the test-suite for the git:pre-commit command:
        git_pre_commit:
            tasks: []
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.
cadot.eu/make
besmartand-pro/php-quality-config
sentix/ai-chatbot
codifyo/ts-generator-bundle
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