PHPackages                             garrett9/laravel-container-command - 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. garrett9/laravel-container-command

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

garrett9/laravel-container-command
==================================

Allows you to execute Laravel commands from your CLI in a Docker container. Useful if your command interacts with other software hosted in your Docker container.

011PHP

Since Nov 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/garrett9/laravel-container-command)[ Packagist](https://packagist.org/packages/garrett9/laravel-container-command)[ RSS](/packages/garrett9-laravel-container-command/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Allows you to execute Laravel commands from your CLI in a Docker container. Useful if your command interacts with other software hosted in your Docker container.
=================================================================================================================================================================

[](#allows-you-to-execute-laravel-commands-from-your-cli-in-a-docker-container-useful-if-your-command-interacts-with-other-software-hosted-in-your-docker-container)

Allows you to execute Laravel commands from your CLI in a Docker container. Useful if your command interacts with other software hosted in your Docker container.

The assumption is that this package will only ever be used for local development since any commands you run in production should already be in the container.

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

[](#installation)

You can install the package via composer:

```
composer require garrett9/laravel-container-command
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-container-command-config"
```

Usage
-----

[](#usage)

```
use Garrett9\ContainerCommand\Commands\ContainerCommand;

class SendRegisterInvitation extends ContainerCommand
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'my:command {parameter1} {parameter2}';
}
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Garrett](https://github.com/garrett9)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/560eac88959322b0f08c4b1c2be5440752b176ecf72e23be42d9d5d945d73421?d=identicon)[garrett9](/maintainers/garrett9)

---

Top Contributors

[![garrett9](https://avatars.githubusercontent.com/u/9288245?v=4)](https://github.com/garrett9 "garrett9 (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/garrett9-laravel-container-command/health.svg)

```
[![Health](https://phpackages.com/badges/garrett9-laravel-container-command/health.svg)](https://phpackages.com/packages/garrett9-laravel-container-command)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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