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 (tests, linters, code style) on staged changes before you commit. If tasks fail, the commit is blocked—helping teams enforce standards and improve code quality automatically.

View on GitHub
Deep Wiki
Context7
v2.21.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.20.0...v2.21.0

v2.20.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.19.0...v2.20.0

v2.19.0

What's Changed

Upgrading

❗ Requires re-initialization from git hooks

In the new version of our dependency gitlib, you need to pass the --raw option to the git diff that is being parsed by the pre-commit hooks. This means you'll need to change your git hook after upgrading:

./vendor/bin/grumphp git:init

If you are using a custom hook, make sure to add the --raw parameter to git diff first:

Example: https://github.com/veewee/grumphp/blob/81a6f9ae3bc0aa96eeb842545ed0b86eb8cd2a1c/resources/hooks/local/pre-commit#L9

DIFF=$(git -c diff.mnemonicprefix=false -c diff.noprefix=false --no-pager diff --raw -r -p -m -M --full-index --no-color --staged | cat)

Full Changelog: https://github.com/phpro/grumphp/compare/v2.18.0...v2.19.0

v2.18.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.17.0...v2.18.0

v2.16.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.15.0...v2.16.0

v2.15.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.14.0...v2.15.0

v2.14.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.13.0...v2.14.0

v2.13.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.12.0...v2.13.0

v2.12.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.11.0...v2.12.0

v2.11.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.10.0...v2.11.0

v2.10.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.9.0...v2.10.0

v2.9.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.8.0...v2.9.0

v2.8.0

What's Changed

Full Changelog: https://github.com/phpro/grumphp/compare/v2.7.0...v2.8.0

v2.7.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.6.0...v2.7.0

v2.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.5.0...v2.6.0

v2.5.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.4.0...v2.5.0

v2.4.0

What's Changed

Full Changelog: https://github.com/phpro/grumphp/compare/v2.3.0...v2.4.0

v2.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.2.0...v2.3.0

v2.2.0

What's Changed

Shim improvements

Full Changelog: https://github.com/phpro/grumphp/compare/v2.1.0...v2.2.0

v2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v2.0.0...v2.1.0

v2.0.0

What's Changed

Full Changelog: https://github.com/phpro/grumphp/compare/v1.16.0...v2.0.0-beta1

Installation

❗ Change in dependencies - we now require:

  • PHP >=v8.1
  • amp >=v3

If your project is still using AMP v2 - you might consider using our dependencyless shim package instead : https://github.com/phpro/grumphp-shim

Upgrading

❗ This version contains some BC breaks for GrumPHP extension or task developers.

Find out how to upgrade your tasks and extensions here : https://github.com/phpro/grumphp/blob/v2.0.0-beta1/UPGRADE-v2.md

Full Changelog: https://github.com/phpro/grumphp/compare/v1.16.0...v2.0.0

v2.0.0-beta1

What's Changed

Full Changelog: https://github.com/phpro/grumphp/compare/v1.16.0...v2.0.0-beta1

Installation

composer require 'phpro/grumphp:^2.0.0-beta1@beta' --update-with-dependencies

❗ Change in dependencies - we now require:

  • PHP >=v8.1
  • amp >=v3

Upgrading

❗ This version contains some BC breaks for GrumPHP extension or task developers.

Find out how to upgrade your tasks and extensions here : https://github.com/phpro/grumphp/blob/v2.0.0-beta1/UPGRADE-v2.md

v1.16.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v1.15.0...v1.16.0

v1.15.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v1.14.0...v1.15.0

v1.14.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v1.13.0...v1.14.0

v1.13.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v1.12.0...v1.13.0

v1.12.0

What's Changed

Shim

  • Upgraded gitonomy/gitlib
  • Re-Added support for php 7.4

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v1.11.0...v1.12.0

v1.11.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v1.10.0...v1.11.0

v1.10.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v1.9.0...v1.10.0

v1.9.0

What's Changed

New Contributors

Full Changelog: https://github.com/phpro/grumphp/compare/v1.8.1...v1.9.0

v1.8.1

This release fixes grumphp-shim issues.

Full Changelog: https://github.com/phpro/grumphp/compare/v1.8.0...v1.8.1

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.
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed