Files
isaaccladandCursor 6c9c742ed8
Deploy Ladill Care / deploy (push) Failing after 13s
Initial Ladill Care release.
Healthcare management app: patients, appointments, consultations, lab,
pharmacy inventory, billing, and reports at care.ladill.com.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 11:36:22 +00:00

16 lines
418 B
PHP

<?php
namespace App\Support;
final class LadillAppUrl
{
public static function connect(string $appSubdomain, string $path = '/'): string
{
$root = (string) config('app.platform_domain', 'ladill.com');
$path = '/'.ltrim($path, '/');
$target = "https://{$appSubdomain}.{$root}{$path}";
return "https://{$appSubdomain}.{$root}/sso/connect?redirect=".urlencode($target);
}
}