Initial Commit

This commit is contained in:
Mark Gregory
2026-04-21 09:12:51 +01:00
commit 6bc3c69c3e
151 changed files with 11917 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
use Modules\$MODULE$\Support\ModuleInfo;
if (! function_exists('$MODULE_LOWER$_feature_enabled')) {
/**
* Check if a feature is enabled in the config.
*/
function $MODULE_LOWER$_feature_enabled(string $key): bool
{
return (bool) config(ModuleInfo::nameLower().".features.{$key}", false);
}
}