started to add ISO countries

This commit is contained in:
Mark Gregory
2026-06-15 08:40:13 +01:00
parent 1d647bf4ce
commit b91aecc49d
40 changed files with 510 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
use Modules\Countries\Support\ModuleInfo;
if (! function_exists('countries_feature_enabled')) {
/**
* Check if a feature is enabled in the config.
*/
function countries_feature_enabled(string $key): bool
{
return (bool) config(ModuleInfo::nameLower().".features.{$key}", false);
}
}