Plugins base (#613)

* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
This commit is contained in:
Saeed Vaziry
2025-06-14 14:35:18 +02:00
committed by GitHub
parent adc0653d15
commit 131b828807
311 changed files with 3976 additions and 2660 deletions

View File

@ -3,6 +3,8 @@
namespace Database\Seeders;
use App\Models\StorageProvider;
use App\StorageProviders\FTP;
use App\StorageProviders\S3;
use Illuminate\Database\Seeder;
class StorageProvidersSeeder extends Seeder
@ -11,7 +13,7 @@ public function run(): void
{
StorageProvider::factory()->create([
'profile' => 'FTP',
'provider' => \App\Enums\StorageProvider::FTP,
'provider' => FTP::id(),
'credentials' => [
'host' => 'ftp.example.com',
'username' => 'ftp_user',
@ -21,7 +23,7 @@ public function run(): void
StorageProvider::factory()->create([
'profile' => 'S3',
'provider' => \App\Enums\StorageProvider::S3,
'provider' => S3::id(),
'credentials' => [
'secret' => 's3_secret',
],