Initial Commit

The initial public commit of MVGL website code.
This commit is contained in:
Jimmy B. 2024-01-14 13:51:43 -06:00
commit b39ecf1638
2043 changed files with 215154 additions and 0 deletions

16
app/Helpers/Game.php Normal file
View file

@ -0,0 +1,16 @@
<?php
use App\Models\Game;
use Illuminate\Support\Facades\DB;
if (!function_exists('fetchGamesCount')) {
/**
* Fetch and return a count of games.
*
* @return int
*/
function fetchGamesCount()
{
return Game::count();
}
}

3
app/Helpers/GameList.php Normal file
View file

@ -0,0 +1,3 @@
<?php
use App\Models\GameList;

4
app/Helpers/Platform.php Normal file
View file

@ -0,0 +1,4 @@
<?php
use App\Models\Platform;
use Illuminate\Support\Facades\DB;

15
app/Helpers/User.php Normal file
View file

@ -0,0 +1,15 @@
<?php
use App\Models\User;
if (!function_exists('fetchActiveUsersCount')) {
/**
* Fetch and return a count of active users.
*
* @return int
*/
function fetchActiveUsersCount()
{
return User::count();
}
}