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.
garrett9/laravel-container-command is a Laravel package for 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..
It currently has 0 GitHub stars and 11 downloads on Packagist.
Install it with composer require garrett9/laravel-container-command.
Discover more Laravel packages by garrett9
or browse all Laravel packages to compare alternatives.
Last updated
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.
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"
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}';
}
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.