PHPackages                             repat/laravel-npm-run - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. repat/laravel-npm-run

ActiveLibrary[Queues &amp; Workers](/categories/queues)

repat/laravel-npm-run
=====================

npm run Laravel Jobs

0.2(5y ago)2358MITPHP

Since May 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/repat/laravel-npm-run)[ Packagist](https://packagist.org/packages/repat/laravel-npm-run)[ Docs](https://repat.de)[ RSS](/packages/repat-laravel-npm-run/feed)WikiDiscussions master Synced 2d ago

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

laravel-npm-run
===============

[](#laravel-npm-run)

[![Latest Version on Packagist](https://camo.githubusercontent.com/464d7c90c7759125415a8593c5e6c1b45cc174f60f4e554aec858ed89192fa73/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72657061742f6c61726176656c2d6e706d2d72756e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/repat/laravel-npm-run)[![Total Downloads](https://camo.githubusercontent.com/341ceeda5d2beb2b8fd6c5171cebf2917a59e2cfb84343bf24653106c61ed01b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72657061742f6c61726176656c2d6e706d2d72756e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/repat/laravel-npm-run)

**laravel-npm-run** is a package that runs e.g. `npm run dev` or `npm run production` as a Laravel Queued Job, using [symfony/process](https://symfony.com/doc/current/components/process.html). For documentation see:

-
-

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

[](#installation)

`$ composer require repat/laravel-npm-run`

Documentation
-------------

[](#documentation)

There are multiple ways to create and dispatch a Job, please see [Laravel Documentation on Queues](https://laravel.com/docs/5.8/queues).

```
// Create Job
$job = new \Repat\Jobs\NpmRun(config('app.env'));
$job = new \Repat\Jobs\NpmRun(); // env = dev

// Dispatch Job
dispatch($job);
$job->dispatch();
$this->dispatch($job); // e.g. in Controller
```

License
-------

[](#license)

- MIT, see [LICENSE](https://github.com/repat/laravel-npm-run/blob/master/LICENSE)

Version
-------

[](#version)

- Version 0.2

Contact
-------

[](#contact)

#### repat

[](#repat)

- Homepage:
- e-mail:
- Twitter: [@repat123](https://twitter.com/repat123 "repat123 on twitter")

[![Flattr this git repo](https://camo.githubusercontent.com/7e3f46a36526479d701ef7f90a0f8c3ac2fbab3087446e2a9fceed75cd1ab802/687474703a2f2f6170692e666c617474722e636f6d2f627574746f6e2f666c617474722d62616467652d6c617267652e706e67)](https://flattr.com/submit/auto?user_id=repat&url=https://github.com/repat/laravel-npm-run&title=laravel-npm-run&language=&tags=github&category=software)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity50

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

Total

2

Last Release

2071d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/405dab243007488e7e7851422e5864a9312aee36058d60f1e6d623232c4d3131?d=identicon)[repat](/maintainers/repat)

---

Tags

laraveldevjobnpmprod

### Embed Badge

![Health badge](/badges/repat-laravel-npm-run/health.svg)

```
[![Health](https://phpackages.com/badges/repat-laravel-npm-run/health.svg)](https://phpackages.com/packages/repat-laravel-npm-run)
```

###  Alternatives

[lorisleiva/laravel-actions

Laravel components that take care of one specific task

2.8k7.5M115](/packages/lorisleiva-laravel-actions)[mpbarlow/laravel-queue-debouncer

A wrapper job for debouncing other queue jobs.

63714.4k1](/packages/mpbarlow-laravel-queue-debouncer)[pmatseykanets/artisan-beans

Easily manage your Beanstalkd job queues right from the Laravel artisan command

4482.1k](/packages/pmatseykanets-artisan-beans)[maqe/laravel-sqs-fifo

Laravel package that enables support for SQS FIFO Queue

15137.2k](/packages/maqe-laravel-sqs-fifo)[tochka-developers/queue-promises

Promises for Laravel queue jobs

1912.3k](/packages/tochka-developers-queue-promises)[twigger/laravel-job-status

Job status for Laravel

205.5k](/packages/twigger-laravel-job-status)

PHPackages © 2026

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