PHPackages                             neronmoon/scriptsdev - 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. neronmoon/scriptsdev

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

neronmoon/scriptsdev
====================

Scripts-dev behaviour for Composer

v0.1.9(5y ago)691.5M—6.9%5[1 PRs](https://github.com/neronmoon/scriptsdev/pulls)20MITPHPCI failing

Since Nov 12Pushed 5y ago2 watchersCompare

[ Source](https://github.com/neronmoon/scriptsdev)[ Packagist](https://packagist.org/packages/neronmoon/scriptsdev)[ Docs](https://github.com/neronmoon/scriptsdev)[ RSS](/packages/neronmoon-scriptsdev/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (14)Used By (20)

scriptsdev for [Composer](https://github.com/composer/composer) [![Build Status](https://camo.githubusercontent.com/5981c4aa8e1f81606b03a47d2cda4d13868d04a3b0da68267818b49d13e4e43b/68747470733a2f2f7472617669732d63692e6f72672f6e65726f6e6d6f6f6e2f736372697074736465762e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/neronmoon/scriptsdev)
===========================================================================================================================================================================================================================================================================================================================================================

[](#scriptsdev-for-composer-)

It's like require-dev, but for scripts

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

[](#installation)

Just run `composer require neronmoon/scriptsdev --dev`

Usage
-----

[](#usage)

After installing you able to add extra.scripts-dev directive in your `composer.json`

```
...
"extra": {
    "scripts-dev": {
        "post-install-cmd": [
            "npm install --dev"
        ],
        "post-update-cmd": "php ./someCoolCommand.php",
        "test": "phpunit"
    },
}
...
```

Deprecated Usage
----------------

[](#deprecated-usage)

```
...
"scripts-dev": {
    "post-install-cmd": [
        "npm install --dev"
    ],
    "post-update-cmd": "php ./someCoolCommand.php"
}
...
```

Known issues
------------

[](#known-issues)

- Usage of this plugin will cause minor warning of validation process. `composer validate` command will display something like this.

```
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
Description for non-existent script "test" found in "scripts-descriptions"

```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity52

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~186 days

Recently: every ~164 days

Total

11

Last Release

1980d ago

### Community

Maintainers

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

---

Top Contributors

[![neronmoon](https://avatars.githubusercontent.com/u/486922?v=4)](https://github.com/neronmoon "neronmoon (24 commits)")[![villfa](https://avatars.githubusercontent.com/u/2891564?v=4)](https://github.com/villfa "villfa (4 commits)")[![sweoggy](https://avatars.githubusercontent.com/u/5914253?v=4)](https://github.com/sweoggy "sweoggy (2 commits)")

---

Tags

composerphpscriptscomposerdevcommandsscriptscommands execution

### Embed Badge

![Health badge](/badges/neronmoon-scriptsdev/health.svg)

```
[![Health](https://phpackages.com/badges/neronmoon-scriptsdev/health.svg)](https://phpackages.com/packages/neronmoon-scriptsdev)
```

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

50398.1M8.3k](/packages/phpstan-extension-installer)[shipmonk/composer-dependency-analyser

Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)

6156.7M435](/packages/shipmonk-composer-dependency-analyser)[bamarni/composer-bin-plugin

No conflicts for your bin dependencies

52722.0M859](/packages/bamarni-composer-bin-plugin)[pyrech/composer-changelogs

Display changelogs after each composer update

5904.0M25](/packages/pyrech-composer-changelogs)[helhum/dotenv-connector

Makes it possible to set environment variables for composer projects.

1594.6M34](/packages/helhum-dotenv-connector)

PHPackages © 2026

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