PHPackages                             hungthai1401/grumphp-pint-task - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hungthai1401/grumphp-pint-task

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hungthai1401/grumphp-pint-task
==============================

Laravel Pint task runner from GrumPHP

v0.0.2(3y ago)217.8k—7.1%1MITPHPPHP &gt;=8.0

Since Nov 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hungthai1401/grumphp-pint-task)[ Packagist](https://packagist.org/packages/hungthai1401/grumphp-pint-task)[ RSS](/packages/hungthai1401-grumphp-pint-task/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (3)Used By (1)

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

[](#grumphp-laravel-pint-task)

This package extends [GrumPHP](https://github.com/phpro/grumphp)with a task that runs [Laravel Pint](https://github.com/laravel/pint) for your Laravel projects.

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

[](#installation)

The easiest way to install this package is through composer:

```
composer require --dev hungthai1401/grumphp-pint-task

```

### Config

[](#config)

Add the extension loader to your `grumphp.yml` or `grumphp.yml.dist`. The task lives under the `laravel_pint` namespace and has following configurable parameters:

```
grumphp:
  tasks:
    laravel_pint:
      config: 'pint.json'
      files_on_pre_commit: false
      paths: ['src']
  extensions:
    - HT\GrumPhpPintTask\ExtensionLoader
```

By default, this won't update your code, you need to do it manually.

#### config

[](#config-1)

`Default: 'pint.json'`

If you want to use a different config file than the default `pint.json`, you can specify your custom config file location with this option.

#### files\_on\_pre\_commit

[](#files_on_pre_commit)

`Default: false`

This option makes it possible to use the changed files as paths during pre-commits. It will use the paths option to make sure only committed files that match the path are validated.

#### paths

[](#paths)

`Default: []`

*Can only be used when `files_on_pre_commit=false`*

If you want to run on particular directories only, specify it with this option.

### Sample Laravel Pint configuration

[](#sample-laravel-pint-configuration)

Create `pint.json` in your project root and configure as follows. This example file I am using for my [Laravel](https://laravel.com/) project. Also you no need to set all these settings, please add or remove as per your requirements.

```
{
  "preset": "laravel",
  "rules": {
    "concat_space": {
      "spacing": "one"
    },
    "fully_qualified_strict_types": true,
    "global_namespace_import": {
      "import_constants": true,
      "import_functions": true,
      "import_classes": true
    }
  }
}
```

Please visit [Laravel Pint](https://laravel.com/docs/9.x/pint) for more configuration examples.

Uninstall
---------

[](#uninstall)

If you want to uninstall this extension remove configuration files first: `pint.json` from your application, then remove package:

```
composer remove hungthai1401/grumphp-pint-task

```

Changelog
---------

[](#changelog)

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

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

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 ~58 days

Total

2

Last Release

1280d ago

### Community

Maintainers

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

---

Top Contributors

[![hungthai1401](https://avatars.githubusercontent.com/u/22017922?v=4)](https://github.com/hungthai1401 "hungthai1401 (8 commits)")

---

Tags

laravelrefactoringPHP Librarygrumphplaravel-frameworkgrumphp-tasklaravel-pintgrumphp-pint-task

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/hungthai1401-grumphp-pint-task/health.svg)

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

###  Alternatives

[erag/laravel-pwa

A simple and easy-to-use PWA (Progressive Web App) package for Laravel applications.

180124.1k](/packages/erag-laravel-pwa)[amirezaeb/heroqr

A Powerful QR Code Management Library For PHP

9813.9k](/packages/amirezaeb-heroqr)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)[tey/laravel-ddd

A Laravel toolkit for Domain Driven Design patterns

1861.4k](/packages/tey-laravel-ddd)[dotmarn/laravel-error-views

A set of customised error pages/screens designed using the TailwindCSS for use in Laravel projects.

134.2k](/packages/dotmarn-laravel-error-views)

PHPackages © 2026

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