PHPackages                             yieldstudio/grumphp-laravel-pint - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. yieldstudio/grumphp-laravel-pint

ActivePlugin[Testing &amp; Quality](/categories/testing)

yieldstudio/grumphp-laravel-pint
================================

A Laravel Pint task for GrumPHP.

1.0.0(2y ago)6239.9k—8.8%3[1 PRs](https://github.com/YieldStudio/grumphp-laravel-pint/pulls)10MITPHPPHP ^8.0

Since Sep 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/YieldStudio/grumphp-laravel-pint)[ Packagist](https://packagist.org/packages/yieldstudio/grumphp-laravel-pint)[ Docs](https://github.com/YieldStudio/grumphp-laravel-pint)[ RSS](/packages/yieldstudio-grumphp-laravel-pint/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (10)

GrumPHP Laravel Pint
====================

[](#grumphp-laravel-pint)

A [Laravel Pint](https://laravel.com/docs/9.x/pint) task for [GrumPHP](https://github.com/phpro/grumphp).

[![Latest Version](https://camo.githubusercontent.com/e03788515571a296290648f31ebba4dc84afbcef3206aeb4f0dd93d92f9e5f66/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7969656c6473747564696f2f6772756d7068702d6c61726176656c2d70696e743f7374796c653d666c61742d737175617265)](https://github.com/yieldstudio/grumphp-laravel-pint/releases)[![GitHub Workflow Status](https://camo.githubusercontent.com/005fdc5e5a7623eaf175d40e2e67e4e36024a013856ca9f0764744ebeeb87bf4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7969656c6473747564696f2f6772756d7068702d6c61726176656c2d70696e742f7374796c696e672e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265)](https://github.com/yieldstudio/grumphp-laravel-pint/actions/workflows/tests.yml)[![Total Downloads](https://camo.githubusercontent.com/84919f33e0ab6463f2fadde29fd8564f01528549401c3ce974de997a1e270f0c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7969656c6473747564696f2f6772756d7068702d6c61726176656c2d70696e743f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yieldstudio/grumphp-laravel-pint)

Installation
------------

[](#installation)

```
composer require yieldstudio/grumphp-laravel-pint

```

For GrumPHP v1 :

```
composer require yieldstudio/grumphp-laravel-pint:^0.0.2

```

Usage
-----

[](#usage)

In your grumphp.yml :

```
grumphp:
  extensions:
    - YieldStudio\GrumPHPLaravelPint\ExtensionLoader
  tasks:
    laravel_pint:
      # These are all optional and have been set to sensible defaults.
      config: pint.json
      preset: laravel
      # Auto fix Laravel Pint issues
      # Can be false, true, 'run' or 'pre_commit' (default)
      auto_fix: 'pre_commit'
      # Auto stage files after auto fix
      # Can be false, true, 'run' or 'pre_commit' (default)
      # Works only if the task has been auto fixed (Without GrumPHP having to ask for it)
      auto_stage: 'pre_commit'
      triggered_by:
        - php
      ignore_patterns:
        - /^a-patten-to-ignore-files-or-folders\/.*/
```

**Auto fix**

When auto\_fix is not enabled, GrumPHP runs Pint in dry mode and then asks if you want to apply patches automatically.

By default, `auto_fix` is enabled only in a pre\_commit context.

Possible values are `true`, `false`, `pre_commit`, `run`.

**Auto stage**

Allows you to automatically stage (`git add`) files affected by Pint with GrumPHP.

By default, `auto_stage` is enabled only in a pre\_commit context.

This option only works when `auto_fix` is enabled for the runtime context.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

### Security

[](#security)

If you've found a bug regarding security please mail  instead of using the issue tracker.

Credits
-------

[](#credits)

- [James Hemery](https://github.com/jameshemery)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~148 days

Total

3

Last Release

1034d ago

Major Versions

0.0.2 → 1.0.02023-07-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/a985e513235f5995a359a9a714ef8b97a5aa36c6d58f00363ddcb69792f4e612?d=identicon)[JamesHemery](/maintainers/JamesHemery)

---

Top Contributors

[![JamesHemery](https://avatars.githubusercontent.com/u/23323941?v=4)](https://github.com/JamesHemery "JamesHemery (13 commits)")

---

Tags

grumphplaravellinterpintlaravelqualitylinterPintPhpCsFixergrumphpyieldstudio

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/yieldstudio-grumphp-laravel-pint/health.svg)

```
[![Health](https://phpackages.com/badges/yieldstudio-grumphp-laravel-pint/health.svg)](https://phpackages.com/packages/yieldstudio-grumphp-laravel-pint)
```

###  Alternatives

[sci3ma/symfony-grumphp

Configured GrumPHP with bunch of tools for static code analysis Symfony Framework

196.7k](/packages/sci3ma-symfony-grumphp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
