first commit

This commit is contained in:
2026-05-20 14:01:28 +02:00
commit 0beb9cbab0
2550 changed files with 558392 additions and 0 deletions
@@ -0,0 +1,18 @@
<?php
namespace Vanguard\Http\Controllers\Api;
use Vanguard\Http\Resources\CountryResource;
use Vanguard\Repositories\Country\CountryRepository;
class CountriesController extends ApiController
{
public function __construct(private readonly CountryRepository $countries)
{
}
public function index(): \Illuminate\Http\Resources\Json\AnonymousResourceCollection
{
return CountryResource::collection($this->countries->all());
}
}