PHPackages                             assertwell/shellcheck - 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. [CLI &amp; Console](/categories/cli)
4. /
5. assertwell/shellcheck

ActiveLibrary[CLI &amp; Console](/categories/cli)

assertwell/shellcheck
=====================

Expose ShellCheck as a vendor binary for PHP projects

v1.0.2(4y ago)188.0k↑17.3%2MITShell

Since Feb 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/assertwell/shellcheck)[ Packagist](https://packagist.org/packages/assertwell/shellcheck)[ RSS](/packages/assertwell-shellcheck/feed)WikiDiscussions develop Synced 1w ago

READMEChangelog (3)DependenciesVersions (5)Used By (2)

ShellCheck
==========

[](#shellcheck)

[Vidar Holen's ShellCheck is an invaluable tool for troubleshooting shell scripts](https://www.shellcheck.net), and this package makes it easy to import into the testing pipeline of your PHP-based project!

How it works
------------

[](#how-it-works)

This package contains a `bin/shellcheck` script that serves as a proxy to the system-installed copy of ShellCheck; if the ShellCheck binary is found, arguments pass through to it normally. If ShellCheck is **not** found locally, users are presented with the following notice:

> ShellCheck was not found in your $PATH! Please visit  for installation instructions.

Normally, this would result in a non-zero exit code (2), though this behavior may be suppressed with the `--ignore-missing` option:

```
$ vendor/bin/shellcheck --ignore-missing some-script.sh

ShellCheck was not found in your $PATH!
Please visit https://github.com/koalaman/shellcheck#installing for installation instructions.

$ echo $?
0

```

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

[](#installation)

The easiest way to install this package is via [Composer](https://getcomposer.org):

```
$ composer require --dev assertwell/shellcheck
```

You may wish to add a [Composer script](https://getcomposer.org/doc/articles/scripts.md) to make it easier for team members to run ShellCheck:

```
# composer.json
{
    // ...
    "scripts": {
        "test:shellcheck": [
            "shellcheck bin/*"
        ]
    },
    "scripts-descriptions": [
        "test:shellcheck": "Lint shell scripts via ShellCheck"
    ]
}
```

As for the installation of ShellCheck itself, please [see the instructions most-relevant to your environment in the ShellCheck documentation](https://github.com/koalaman/shellcheck#installing).

License
-------

[](#license)

[The assertwell/shellcheck Composer package is available under the MIT license](LICENSE.md).

ShellCheck itself is the copyright of Vidar Holden and made [available under the GPLv3 license](https://github.com/koalaman/shellcheck/blob/master/LICENSE).

###  Health Score

32

—

LowBetter than 70% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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 ~0 days

Total

3

Last Release

1581d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/233836?v=4)[Steve Grunwell](/maintainers/stevegrunwell)[@stevegrunwell](https://github.com/stevegrunwell)

---

Top Contributors

[![stevegrunwell](https://avatars.githubusercontent.com/u/233836?v=4)](https://github.com/stevegrunwell "stevegrunwell (10 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")

---

Tags

composer-packageshellcheck

### Embed Badge

![Health badge](/badges/assertwell-shellcheck/health.svg)

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

###  Alternatives

[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24726.4M22](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

13045.3M6.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

596920.8k12](/packages/php-tui-php-tui)[styleci/cli

The CLI tool for StyleCI

71464.1k9](/packages/styleci-cli)

PHPackages © 2026

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