feat: Implement Plesk domain and hosting services
- Added PleskDomainService for managing domain operations (create, update, remove, get info). - Introduced PleskHostingService for provisioning hosting accounts and notifying customers. - Created PleskService for handling API requests to Plesk. - Added migration to include 'type' column in dns_manager_servers table. - Created migration for module_hosting_accounts table to track hosting subscriptions. - Created migration for module_hosting_plesk_clients table to manage Plesk client credentials. - Added email templates for notifying customers and admins about hosting account creation.
This commit is contained in:
@@ -82,6 +82,8 @@ use App\Repositories\Module\Hosting\HostingRepositoryInterface as ModuleHostingR
|
||||
|
||||
use App\Repositories\Module\HostingServer\HostingServerCachedRepository;
|
||||
use App\Repositories\Module\HostingServer\HostingServerRepositoryInterface;
|
||||
use App\Repositories\Module\HostingAccount\HostingAccountCachedRepository;
|
||||
use App\Repositories\Module\HostingAccount\HostingAccountRepositoryInterface;
|
||||
use App\Repositories\Module\IpAddress\IpAddressCachedRepository;
|
||||
use App\Repositories\Module\IpAddress\IpAddressRepositoryInterface;
|
||||
use App\Repositories\Module\Network\NetworkCachedRepository;
|
||||
@@ -198,6 +200,8 @@ class RepositoryProvider extends ServiceProvider
|
||||
$this->app->singleton(ModuleHostingRepositoryInterface::class, ModuleHostingCachedRepository::class);
|
||||
//Hosting Server
|
||||
$this->app->singleton(HostingServerRepositoryInterface::class, HostingServerCachedRepository::class);
|
||||
//Hosting Account
|
||||
$this->app->singleton(HostingAccountRepositoryInterface::class, HostingAccountCachedRepository::class);
|
||||
//IpAddress
|
||||
$this->app->singleton(IpAddressRepositoryInterface::class, IpAddressCachedRepository::class);
|
||||
//Network
|
||||
|
||||
Reference in New Issue
Block a user