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

andersundsehr/grumphp-fractor-task

GrumPHP task for running Fractor (TYPO3 Fractor) in your Git hooks. Configure fractor.php path, file extensions, ignore patterns, cache clearing, and diff output to enforce automated refactoring checks on commit.

View on GitHub
Deep Wiki
Context7

Packagist Packagist

grumphp-fractor-task

Add tasks for fractor https://github.com/andreaswolf/fractor-typo3-fractor

Composer

composer require --dev andersundsehr/grumphp-fractor-task

Config

# grumphp.yml
grumphp:
    tasks:
        fractor:
            config: null
            triggered_by: ['php']
            ignore_patterns: []
            clear_cache: true
            no_diffs: false
    extensions:
    - Andersundsehr\GrumPHPFractorTask\ExtensionLoader

config

Default: null

With this parameter you can specify the path your project's configuration file. When 'null' fractor will run with the default file: fractor.php

triggered_by

Default: [php]

This is a list of extensions to be sniffed.

ignore_patterns

Default: []

This is a list of patterns that will be ignored by Fractor. With this option you can skip files like tests. Leave this option blank to run Fractor for every php file/directory specified in your configuration.

clear_cache

Default: true

With this parameter you can run Fractor without using the cache.

no_diffs

Default: false

With this parameter you can run Fractor without showing file diffs.

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.
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony
spatie/flare-daemon-runtime