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

PHPStan

The PHPStan task focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code. It lives under the phpstan namespace and has following configurable parameters:

Composer

composer require --dev phpstan/phpstan

Config

# grumphp.yml
grumphp:
    tasks:
        phpstan:
            autoload_file: ~
            configuration: ~
            level: null
            force_patterns: []
            ignore_patterns: []
            triggered_by: ['php']
            memory_limit: "-1"
            use_grumphp_paths: true

autoload_file

Default: null

With this parameter you can specify the path your project's additional autoload file path.

configuration

Default: null

With this parameter you can specify the path your project's configuration file.

level

Default: null

With this parameter you can set the level of rule options - the higher, the stricter. You must either specify a level in GrumPHP or inside the phpstan.neon file.

force_patterns

Default: []

This is a list of patterns that will be forced for analysis even when the file or path is ignored.

ignore_patterns

Default: []

This is a list of patterns that will be ignored by phpstan. With this option you can skip files like tests. Leave this option blank to run phpstan for every php file.

triggered_by

Default: [php]

This is a list of extensions to be sniffed.

memory_limit

Default: null

With this parameter you can specify the memory limit.

use_grumphp_paths

Default: true

Since there is no --changed-files flag in PhpStan yet, this flags allows you to change what files will be validated. You can choose to use the paths detected by GrumPHP, or you can choose to fall back on the PhpStan configuration.

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