remove faker from prod

This commit is contained in:
Andras Bacsai
2023-05-02 09:11:22 +02:00
parent 7377f80bdd
commit 4ebae8dcf6
6 changed files with 70 additions and 7 deletions

View File

@@ -143,3 +143,14 @@ if (!function_exists('getLatestVersionOfCoolify')) {
return data_get($versions, 'coolify.v4.version');
}
}
if (!function_exists('generateRandomName')) {
function generateRandomName()
{
$generator = new \Nubs\RandomNameGenerator\All(
[
new \Nubs\RandomNameGenerator\Vgng()
]
);
return $generator->getName();
}
}