tourze/server-command-bundle
A Symfony bundle from Tourze that integrates server-side console commands into your application, auto-registering command services and providing a clean, configurable way to run and manage server operations from the CLI.
composer require tourze/server-command-bundle.symfony/console directly.config/app.php (Laravel < 5.5) or rely on auto‑discovery. For a Symfony bundle, you would normally enable it in config/bundles.php – not applicable in Laravel, so confirm the intended integration path.php artisan list (or bin/console list for Symfony) to see the commands exposed by the package. Typical candidates are server‑health, deployment, or SSH‑related commands.php artisan server:info) to confirm the package is wired correctly and to understand available options. Look at the package’s Command directory and README for concrete command names.commands() method:
$this->commands([
\Tourze\ServerCommandBundle\Command\SomeCommand::class,
]);
Artisan::call('server:command', $args) inside your own code to trigger server operations from controllers, jobs, or scheduled tasks.app/Console/Kernel.php’s schedule() method, e.g. $schedule->command('server:health')->everyFiveMinutes().--no-interaction and -q for non‑interactive environments.php artisan vendor:publish --tag=server-command-config) and review it for connection strings, timeouts, or command aliases.php artisan list after installation.-vvv to see detailed exception traces. If the command fails silently, check Laravel’s log and the package’s own error handling.CommandInterface, ServerCommand) to hook into output or event dispatching. Custom output formatters and event listeners are common extension points.^1.0 and review the changelog for each patch; 1.0.2 is a patch release but may alter command output or exit codes, which can break scripts that parse results.How can I help you explore Laravel packages today?