🚀 initial commit

This commit is contained in:
user
2025-11-21 04:28:08 +01:00
commit e4a4cfae2b
678 changed files with 24872 additions and 0 deletions

13
app/helpers.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
if (!function_exists('route_with_country')) {
function route_with_country(string $name, array $parameters = [], bool $absolute = true): string
{
if (!isset($parameters['country'])) {
$country = request()->route('country') ?? 'de';
$parameters = ['country' => $country] + $parameters;
}
return route($name, $parameters, $absolute);
}
}