* 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
14 lines
798 B
PHP
14 lines
798 B
PHP
<?php
|
|
return [
|
|
'enabled' => (bool) env('MARKETPLACE_ENABLED', true),
|
|
'catalogue_url' => env('MARKETPLACE_CATALOGUE_URL'),
|
|
'allow_remote_install' => (bool) env('MARKETPLACE_ALLOW_REMOTE_INSTALL', false),
|
|
'require_checksum' => (bool) env('MARKETPLACE_REQUIRE_CHECKSUM', true),
|
|
'require_signature' => (bool) env('MARKETPLACE_REQUIRE_SIGNATURE', false),
|
|
'trusted_publishers' => array_values(array_filter(array_map('trim', explode(',', (string) env('MARKETPLACE_TRUSTED_PUBLISHERS', ''))))),
|
|
'storage_disk' => env('MARKETPLACE_STORAGE_DISK', 'local'),
|
|
'package_path' => env('MARKETPLACE_PACKAGE_PATH', 'marketplace/packages'),
|
|
'snapshot_path' => env('MARKETPLACE_SNAPSHOT_PATH', 'marketplace/snapshots'),
|
|
'supported_types' => ['module', 'theme', 'extension'],
|
|
];
|