An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
better random names (KEBAB)
Andras Bacsai27e867e6ad23
diff --git a/app/Jobs/DeployApplicationJob.php b/app/Jobs/DeployApplicationJob.phpindex 9d0ce017cd..0e1ad11b57 100644--- a/app/Jobs/DeployApplicationJob.php+++ b/app/Jobs/DeployApplicationJob.php@@ -7,20 +7,13 @@ use App\Data\CoolifyTaskArgs;use App\Enums\ActivityTypes;use App\Models\Application;use App\Models\InstanceSettings;-use DateTimeImmutable;use Illuminate\Bus\Queueable;use Illuminate\Contracts\Queue\ShouldQueue;use Illuminate\Foundation\Bus\Dispatchable;use Illuminate\Queue\InteractsWithQueue;use Illuminate\Queue\SerializesModels;use Illuminate\Support\Collection;-use Illuminate\Support\Facades\Http;use Illuminate\Support\Facades\Storage;-use Lcobucci\JWT\Encoding\ChainedFormatter;-use Lcobucci\JWT\Encoding\JoseEncoder;-use Lcobucci\JWT\Signer\Key\InMemory;-use Lcobucci\JWT\Signer\Rsa\Sha256;-use Lcobucci\JWT\Token\Builder;use Spatie\Activitylog\Models\Activity;use Symfony\Component\Yaml\Yaml;use Illuminate\Support\Str;diff --git a/bootstrap/helpers.php b/bootstrap/helpers.phpindex 47dfe942e4..b6899f52d5 100644--- a/bootstrap/helpers.php+++ b/bootstrap/helpers.php@@ -13,6 +13,8 @@ use Illuminate\Support\Facades\Process;use Illuminate\Support\Facades\Route;use Illuminate\Support\Facades\Storage;use Spatie\Activitylog\Contracts\Activity;+use Illuminate\Support\Str;+if (!function_exists('generalErrorHandler')) {function generalErrorHandler(\Throwable $e, $that = null)@@ -179,7 +181,7 @@ if (!function_exists('generateRandomName')) {new \Nubs\RandomNameGenerator\Alliteration()]);- return $generator->getName();+ return Str::kebab($generator->getName());}}