* Modules, themes, and extensions * Publisher profiles and verification metadata * Installed-package tracking * Semantic version compatibility checks * PHP, Laravel, and Content Manager compatibility checks * Dependency resolution * SHA-256 checksum validation * Package signature requirements * Installation and update history * Enable and disable controls * Removal handling * Rollback records * Licence records * Marketplace administration UI * Authenticated REST endpoints * Console audit and synchronisation commands * Permissions and sidebar integration * Feature tests
13 lines
597 B
PHP
13 lines
597 B
PHP
<?php
|
|
namespace Modules\Marketplace\Console\Commands;
|
|
use Illuminate\Console\Command;
|
|
final class MarketplaceSyncCommand extends Command
|
|
{
|
|
protected $signature='marketplace:sync'; protected $description='Synchronise the configured marketplace catalogue.';
|
|
public function handle(): int
|
|
{
|
|
if (blank(config('marketplace.catalogue_url'))) { $this->warn('MARKETPLACE_CATALOGUE_URL is not configured.'); return self::SUCCESS; }
|
|
$this->info('Catalogue synchronisation is configured. Remote installs remain disabled unless explicitly enabled.'); return self::SUCCESS;
|
|
}
|
|
}
|