added countries support expanded for ISO 3166 standard merged in new support

This commit is contained in:
Mark Gregory
2026-06-15 10:37:44 +01:00
parent 57d2507db9
commit 10be45172e
3 changed files with 14 additions and 5 deletions
@@ -0,0 +1,9 @@
<?php
use Illuminate\Support\Facades\Route;
use Modules\Countries\Http\Controllers\Api\CountryLookupController;
if (class_exists(CountryLookupController::class)) {
Route::get('/countries', [CountryLookupController::class, 'index'])->name('api.countries.index');
Route::get('/countries/{country:alpha2}', [CountryLookupController::class, 'show'])->name('api.countries.show');
}