added countries support expanded for ISO 3166 standard

This commit is contained in:
Mark Gregory
2026-06-15 09:35:08 +01:00
parent 3638e34535
commit 8a6eb74ebb
4 changed files with 9 additions and 103 deletions
@@ -1,18 +0,0 @@
<?php
namespace Modules\Countries\Rules;
use Closure;
use Illuminate\Contracts\Validation\ValidationRule;
class ValidCountryCode implements ValidationRule
{
public function __construct(private readonly bool $activeOnly = true)
{
}
public function validate(string $attribute, mixed $value, Closure $fail): void
{
(new ValidIso3166CountryCode($this->activeOnly, 'alpha2'))->validate($attribute, $value, $fail);
}
}
+8
View File
@@ -1,4 +1,12 @@
versions:
- version: 1.3.0
date: 2026-06-15
changes:
- Exposed all ISO 3166 country parameters in create and edit CRUD forms.
- Added create, store and destroy actions for platform country administration.
- Added professional WMS-styled form layout with red required-field indicators.
- Added editable metadata JSON, source tracking, sync timestamp and operational support flags.
- Updated country index and show views to display full ISO and operational metadata.
- version: 1.2.0
date: 2026-06-15
changes:
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Countries",
"alias": "countries",
"version": "1.2.0",
"version": "1.3.0",
"description": "ISO 3166 country reference module with active-country support for WMS and SaaS workflows.",
"keywords": [
"countries",