Files
ABSDEV/Modules/Marketplace/Config/config.php
T
2026-07-24 14:59:44 +01:00

15 lines
799 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'],
];