Initial commit

This commit is contained in:
Ronald Huynen
2026-03-23 21:37:59 +01:00
commit 2547717edb
2193 changed files with 972171 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<html>
<head>
</head>
<body>
<div>
Dispatch 'php artisan user:lang' command to execute Test_UserLangChangedEvent, that will be broadcasts on private channel 'change-lang.{{ $toUserId }}':<br>{{ $user->name }}'s locale setting is <strong id="lang">{{ $user->locale }}.</strong><br/>
</div>
<script src="{{ mix('js/app.js') }}"></script>
<script>
window.Pusher.logToConsole = true;
window.Echo.private('change-lang.{{ $toUserId }}')
.listen('Test_UserLangChangedEvent', (e) => {
window.location.reload();
});
</script>
</body>
</html>

View File

@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Debug 1</title>
</head>
<body>
<ul>
@foreach ([
['name' => 'Debug 1', 'url' => route('debug-1')],
['name' => 'Debug 2', 'url' => route('debug-2')],
['name' => 'Export link', 'url' => route('export-test')],
['name' => 'Test ip location', 'url' => route('ip-location')],
['name' => 'Web Tinker', 'url' => '/test/tinker'], // Direct path added here
['name' => 'Clear Cache', 'url' => route('clear-cache')],
['name' => 'Optimize Clear', 'url' => route('optimize-clear')],
] as $link)
<li><a href="{{ $link['url'] }}">{{ $link['name'] }}</a></li>
@endforeach
</ul>
<hr />
<div>
{{ phpinfo() }}
{{ xdebug_info() }}
</div>
</body>
</html>

View File

@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Debug 2</title>
</head>
<body>
<ul>
@foreach ([
['name' => 'Debug 1', 'url' => route('debug-1')],
['name' => 'Debug 2', 'url' => route('debug-2')],
['name' => 'Test ip location', 'url' => route('ip-location')],
['name' => 'Web Tinker', 'url' => '/test/tinker'], // Direct path added here
['name' => 'Clear Cache', 'url' => route('clear-cache')],
['name' => 'Optimize Clear', 'url' => route('optimize-clear')],
] as $link)
<li><a href="{{ $link['url'] }}">{{ $link['name'] }}</a></li>
@endforeach
</ul>
<hr />
Altcha:
</body>
</html>

View File

@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1>Location test page - (location is not correct for localhost) </h1>
<div class="card">
<div class="card-body">
@if($IpLocationInfo)
<h4>IP: {{ $IpLocationInfo->ip }}</h4>
<h4>Country Name: {{ $IpLocationInfo->countryName }}</h4>
<h4>Country Code: {{ $IpLocationInfo->countryCode }}</h4>
<h4>Region Code: {{ $IpLocationInfo->regionCode }}</h4>
<h4>Region Name: {{ $IpLocationInfo->regionName }}</h4>
<h4>City Name: {{ $IpLocationInfo->cityName }}</h4>
<h4>Zip Code: {{ $IpLocationInfo->zipCode }}</h4>
<h4>iso Code: {{ $IpLocationInfo->isoCode }}</h4>
<h4>Postal Code: {{ $IpLocationInfo->postalCode }}</h4>
<h4>Latitude: {{ $IpLocationInfo->latitude }}</h4>
<h4>Longitude: {{ $IpLocationInfo->longitude }}</h4>
<h4>MetroCode: {{ $IpLocationInfo->metroCode }}</h4>
<h4>Area Code {{ $IpLocationInfo->areaCode }}</h4>
<h4>Driver: {{ $IpLocationInfo->driver }}</h4>
@endif
</div>
</div>
</div>
</body>
</html>