PHPackages                             jandc/grumphp-yarn-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. jandc/grumphp-yarn-task

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

jandc/grumphp-yarn-task
=======================

Simple grumphp task akin to the 'npm\_script' task, but runs yarn instead.

0.4.0(6y ago)2626ISCPHPPHP ^7.2

Since May 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/JanDC/grumphp-yarn-task)[ Packagist](https://packagist.org/packages/jandc/grumphp-yarn-task)[ RSS](/packages/jandc-grumphp-yarn-task/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

grumphp-yarn-task
=================

[](#grumphp-yarn-task)

Simple grumphp task akin to the 'npm\_script' task, but runs yarn instead

Usage
-----

[](#usage)

### Dependencies

[](#dependencies)

yarn (obviously), has to be installed and available in $PATH.
 Refer to  for the installation procedures.

### Installation

[](#installation)

To install the yarn task simply run
`composer require jandc/grumphp-yarn-task`
or
`composer global require jandc/grumphp-yarn-task`

depending on your grumphp location

You can register the task by adding it's extension:

```
# grumphp.yml
parameters:
    extensions:
        - YarnTask\Extension\Loader
```

### Configuration

[](#configuration)

Usage is almost identical to npm\_script:
([https://github.com/phpro/grumphp/blob/v0.15.0/doc/tasks/npm\_script.md](https://github.com/phpro/grumphp/blob/v0.15.0/doc/tasks/npm_script.md))

```
# grumphp.yml
parameters:
    tasks:
        yarn:
            script: lint
            options:
                - '--no-fix'
                - '--max-warnings=0'
            triggered_by: [js, jsx, coffee, ts, less, sass, scss]
            working_directory: ./
            is_run_task: false
```

Note the extra 'options' array which can be used to append extra parameters to your scripts

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Recently: every ~210 days

Total

6

Last Release

1728d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3265146?v=4)[Jan Decavele](/maintainers/jandc)[@JanDC](https://github.com/JanDC)

### Embed Badge

![Health badge](/badges/jandc-grumphp-yarn-task/health.svg)

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

###  Alternatives

[lasselehtinen/laravel-conventions-checker

grumphp config to automatically check conventions for Laravel projects

2210.4k4](/packages/lasselehtinen-laravel-conventions-checker)

PHPackages © 2026

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