Files
isaaccladandCursor e251a4cf60
Deploy Ladill Hosting / deploy (push) Failing after 17s
Initial Ladill Hosting app with Gitea deploy pipeline.
Shared web hosting extracted from the platform monolith, with CI deploy
to /var/www/ladill-hosting matching Bird/Domains/Email.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:24:20 +00:00

26 lines
736 B
PHP

<?php
namespace App\Services\Hosting\Contracts;
use App\Models\HostedSite;
use App\Models\AppInstallation;
interface AppInstallerInterface
{
public function getSupportedApps(): array;
public function getAppVersions(string $appType): array;
public function install(HostedSite $site, string $appType, array $config): AppInstallation;
public function uninstall(AppInstallation $installation): bool;
public function update(AppInstallation $installation, ?string $version = null): bool;
public function getStatus(AppInstallation $installation): array;
public function backup(AppInstallation $installation): string;
public function restore(AppInstallation $installation, string $backupPath): bool;
}