From 4d093b067971e6c45dbc74d02a005a2b748dd9e6 Mon Sep 17 00:00:00 2001 From: Leon Date: Fri, 20 Mar 2026 10:23:20 +0100 Subject: [PATCH] feat: backups plugin --- .../Filament/DashboardPanelProvider.php | 2 + composer.json | 1 + composer.lock | 316 +++++++++++++++++- .../filament-spatie-backup/ar/backup.php | 70 ++++ .../filament-spatie-backup/cs/backup.php | 70 ++++ .../filament-spatie-backup/de/backup.php | 70 ++++ .../filament-spatie-backup/en/backup.php | 70 ++++ .../filament-spatie-backup/es/backup.php | 69 ++++ .../filament-spatie-backup/fa/backup.php | 70 ++++ .../filament-spatie-backup/fr/backup.php | 69 ++++ .../filament-spatie-backup/id/backup.php | 70 ++++ .../filament-spatie-backup/it/backup.php | 70 ++++ .../filament-spatie-backup/ko/backup.php | 70 ++++ .../filament-spatie-backup/nl/backup.php | 70 ++++ .../filament-spatie-backup/pt/backup.php | 70 ++++ .../filament-spatie-backup/pt_BR/backup.php | 69 ++++ .../filament-spatie-backup/pt_PT/backup.php | 70 ++++ .../filament-spatie-backup/ru/backup.php | 70 ++++ .../filament-spatie-backup/tr/backup.php | 69 ++++ .../filament-spatie-backup/vi/backup.php | 69 ++++ .../filament-spatie-backup/zh_CN/backup.php | 70 ++++ .../filament-spatie-backup-styles.css | 1 + 22 files changed, 1574 insertions(+), 1 deletion(-) create mode 100644 lang/vendor/filament-spatie-backup/ar/backup.php create mode 100644 lang/vendor/filament-spatie-backup/cs/backup.php create mode 100644 lang/vendor/filament-spatie-backup/de/backup.php create mode 100644 lang/vendor/filament-spatie-backup/en/backup.php create mode 100644 lang/vendor/filament-spatie-backup/es/backup.php create mode 100644 lang/vendor/filament-spatie-backup/fa/backup.php create mode 100644 lang/vendor/filament-spatie-backup/fr/backup.php create mode 100644 lang/vendor/filament-spatie-backup/id/backup.php create mode 100644 lang/vendor/filament-spatie-backup/it/backup.php create mode 100644 lang/vendor/filament-spatie-backup/ko/backup.php create mode 100644 lang/vendor/filament-spatie-backup/nl/backup.php create mode 100644 lang/vendor/filament-spatie-backup/pt/backup.php create mode 100644 lang/vendor/filament-spatie-backup/pt_BR/backup.php create mode 100644 lang/vendor/filament-spatie-backup/pt_PT/backup.php create mode 100644 lang/vendor/filament-spatie-backup/ru/backup.php create mode 100644 lang/vendor/filament-spatie-backup/tr/backup.php create mode 100644 lang/vendor/filament-spatie-backup/vi/backup.php create mode 100644 lang/vendor/filament-spatie-backup/zh_CN/backup.php create mode 100644 public/css/filament-spatie-backup/filament-spatie-backup-styles.css diff --git a/app/Providers/Filament/DashboardPanelProvider.php b/app/Providers/Filament/DashboardPanelProvider.php index d995794..fd2baad 100644 --- a/app/Providers/Filament/DashboardPanelProvider.php +++ b/app/Providers/Filament/DashboardPanelProvider.php @@ -14,6 +14,7 @@ use Filament\PanelProvider; use Filament\Support\Colors\Color; use Filament\Widgets\AccountWidget; use Filament\Widgets\FilamentInfoWidget; +use ShuvroRoy\FilamentSpatieLaravelBackup\FilamentSpatieLaravelBackupPlugin; use ShuvroRoy\FilamentSpatieLaravelHealth\FilamentSpatieLaravelHealthPlugin; use Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse; use Illuminate\Cookie\Middleware\EncryptCookies; @@ -75,6 +76,7 @@ class DashboardPanelProvider extends PanelProvider ->plugins([ FilamentSpatieLaravelHealthPlugin::make(), FilamentExceptionsPlugin::make(), + FilamentSpatieLaravelBackupPlugin::make() ]); } } diff --git a/composer.json b/composer.json index 6535710..bab88f8 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,7 @@ "meilisearch/meilisearch-php": "^1.16", "predis/predis": "^3.4", "scalar/laravel": "^0.2.0", + "shuvroroy/filament-spatie-laravel-backup": "^3.3", "shuvroroy/filament-spatie-laravel-health": "^3.2", "spatie/laravel-health": "^1.39" }, diff --git a/composer.lock b/composer.lock index 0a96736..abb44a7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4ca7ef03412572566d333831942fdf65", + "content-hash": "4e4badbf86801ae26b57c0ec20336d0a", "packages": [ { "name": "anourvalar/eloquent-serialize", @@ -6136,6 +6136,82 @@ ], "time": "2022-12-17T21:53:22+00:00" }, + { + "name": "shuvroroy/filament-spatie-laravel-backup", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/shuvroroy/filament-spatie-laravel-backup.git", + "reference": "e9a360bfa20efb6c3824288d8d3f2529307ec252" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/shuvroroy/filament-spatie-laravel-backup/zipball/e9a360bfa20efb6c3824288d8d3f2529307ec252", + "reference": "e9a360bfa20efb6c3824288d8d3f2529307ec252", + "shasum": "" + }, + "require": { + "filament/filament": "^4.0|^5.0", + "php": "^8.2", + "spatie/laravel-backup": "^8.0|^9.0", + "spatie/laravel-package-tools": "^1.9" + }, + "require-dev": { + "larastan/larastan": "^3.0", + "laravel/pint": "^1.0", + "nunomaduro/collision": "^8.1.1||^7.10.0", + "orchestra/testbench": "^9.0||^10.0", + "pestphp/pest": "^2.0||^3.0", + "pestphp/pest-plugin-arch": "^2.0||^3.0", + "pestphp/pest-plugin-laravel": "^2.0||^3.0", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-deprecation-rules": "^2.0", + "phpstan/phpstan-phpunit": "^2.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "ShuvroRoy\\FilamentSpatieLaravelBackup\\FilamentSpatieLaravelBackupServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "ShuvroRoy\\FilamentSpatieLaravelBackup\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Shuvro Roy", + "email": "shuvro.nsu.cse@gmail.com", + "role": "Developer" + } + ], + "description": "This plugin is built on top of Spatie's Laravel-backup package", + "homepage": "https://github.com/shuvroroy/filament-spatie-laravel-backup", + "keywords": [ + "filament", + "filament-spatie-laravel-backup", + "laravel-backup" + ], + "support": { + "issues": "https://github.com/shuvroroy/filament-spatie-laravel-backup/issues", + "source": "https://github.com/shuvroroy/filament-spatie-laravel-backup/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://www.buymeacoffee.com/shuvroroy", + "type": "buy_me_a_coffee" + } + ], + "time": "2026-01-17T04:50:15+00:00" + }, { "name": "shuvroroy/filament-spatie-laravel-health", "version": "v3.2.0", @@ -6212,6 +6288,69 @@ ], "time": "2026-01-17T12:24:55+00:00" }, + { + "name": "spatie/db-dumper", + "version": "3.8.3", + "source": { + "type": "git", + "url": "https://github.com/spatie/db-dumper.git", + "reference": "eac3221fbe27fac51f388600d27b67b1b079406e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/db-dumper/zipball/eac3221fbe27fac51f388600d27b67b1b079406e", + "reference": "eac3221fbe27fac51f388600d27b67b1b079406e", + "shasum": "" + }, + "require": { + "php": "^8.0", + "symfony/process": "^5.0|^6.0|^7.0|^8.0" + }, + "require-dev": { + "pestphp/pest": "^1.22" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\DbDumper\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Dump databases", + "homepage": "https://github.com/spatie/db-dumper", + "keywords": [ + "database", + "db-dumper", + "dump", + "mysqldump", + "spatie" + ], + "support": { + "source": "https://github.com/spatie/db-dumper/tree/3.8.3" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2026-01-05T16:26:03+00:00" + }, { "name": "spatie/enum", "version": "3.13.0", @@ -6347,6 +6486,106 @@ ], "time": "2024-05-17T09:06:10+00:00" }, + { + "name": "spatie/laravel-backup", + "version": "9.4.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-backup.git", + "reference": "0dff805039617b4a6f48291cef0697a73bc0392e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/0dff805039617b4a6f48291cef0697a73bc0392e", + "reference": "0dff805039617b4a6f48291cef0697a73bc0392e", + "shasum": "" + }, + "require": { + "ext-zip": "^1.14.0", + "illuminate/console": "^12.40", + "illuminate/contracts": "^12.40", + "illuminate/events": "^12.40", + "illuminate/filesystem": "^12.40", + "illuminate/notifications": "^12.40", + "illuminate/support": "^12.40", + "league/flysystem": "^3.30.2", + "php": "^8.3", + "spatie/db-dumper": "^3.8.1", + "spatie/laravel-package-tools": "^1.92.7", + "spatie/laravel-signal-aware-command": "^2.1", + "spatie/temporary-directory": "^2.3", + "symfony/console": "^7.3.6|^8.0", + "symfony/finder": "^7.3.5|^8.0" + }, + "require-dev": { + "composer-runtime-api": "^2.0", + "ext-pcntl": "*", + "larastan/larastan": "^3.8", + "laravel/slack-notification-channel": "^3.7", + "league/flysystem-aws-s3-v3": "^3.30.1", + "mockery/mockery": "^1.6.12", + "orchestra/testbench": "^10.8", + "pestphp/pest": "^4.1.5", + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan-deprecation-rules": "^2.0.3", + "phpstan/phpstan-phpunit": "^2.0.8", + "rector/rector": "^2.2.8" + }, + "suggest": { + "laravel/slack-notification-channel": "Required for sending notifications via Slack" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\Backup\\BackupServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/Helpers/functions.php" + ], + "psr-4": { + "Spatie\\Backup\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A Laravel package to backup your application", + "homepage": "https://github.com/spatie/laravel-backup", + "keywords": [ + "backup", + "database", + "laravel-backup", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/laravel-backup/issues", + "source": "https://github.com/spatie/laravel-backup/tree/9.4.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2026-02-15T19:05:20+00:00" + }, { "name": "spatie/laravel-health", "version": "1.39.1", @@ -6500,6 +6739,81 @@ ], "time": "2026-02-21T12:49:54+00:00" }, + { + "name": "spatie/laravel-signal-aware-command", + "version": "2.1.2", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-signal-aware-command.git", + "reference": "54dcc1efd152bfb3eb0faf56a5fc28569b864b5d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-signal-aware-command/zipball/54dcc1efd152bfb3eb0faf56a5fc28569b864b5d", + "reference": "54dcc1efd152bfb3eb0faf56a5fc28569b864b5d", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^11.0|^12.0|^13.0", + "php": "^8.2", + "spatie/laravel-package-tools": "^1.4.3", + "symfony/console": "^7.0|^8.0" + }, + "require-dev": { + "brianium/paratest": "^6.2|^7.0", + "ext-pcntl": "*", + "nunomaduro/collision": "^5.3|^6.0|^7.0|^8.0", + "orchestra/testbench": "^9.0|^10.0", + "pestphp/pest-plugin-laravel": "^1.3|^2.0|^3.0", + "phpunit/phpunit": "^9.5|^10|^11", + "spatie/laravel-ray": "^1.17" + }, + "type": "library", + "extra": { + "laravel": { + "aliases": { + "Signal": "Spatie\\SignalAwareCommand\\Facades\\Signal" + }, + "providers": [ + "Spatie\\SignalAwareCommand\\SignalAwareCommandServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Spatie\\SignalAwareCommand\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "role": "Developer" + } + ], + "description": "Handle signals in artisan commands", + "homepage": "https://github.com/spatie/laravel-signal-aware-command", + "keywords": [ + "laravel", + "laravel-signal-aware-command", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/laravel-signal-aware-command/issues", + "source": "https://github.com/spatie/laravel-signal-aware-command/tree/2.1.2" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2026-02-22T08:16:31+00:00" + }, { "name": "spatie/regex", "version": "3.1.1", diff --git a/lang/vendor/filament-spatie-backup/ar/backup.php b/lang/vendor/filament-spatie-backup/ar/backup.php new file mode 100644 index 0000000..25840ac --- /dev/null +++ b/lang/vendor/filament-spatie-backup/ar/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'تحميل', + 'delete' => 'حذف', + ], + + 'fields' => [ + 'path' => 'المسار', + 'disk' => 'قرص التخزين', + 'date' => 'التاريخ', + 'size' => 'الحجم', + ], + + 'filters' => [ + 'disk' => 'قرص التخزين', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'الإسم', + 'disk' => 'قرص التخزين', + 'healthy' => 'الحالة', + 'amount' => 'السعة', + 'newest' => 'الأحدث', + 'used_storage' => 'السعة المستخدمة', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'إنشاء نسخة إحتياطية', + ], + + 'heading' => 'النسخ الإحتياطي', + + 'messages' => [ + 'backup_success' => 'إنشاء نسخة إحتياطية في الخلفية.', + 'backup_delete_success' => 'تم حذف النسخة الإحتياطية بنجاح.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'قاعدة البيانات', + 'only_files' => 'الملفات', + 'db_and_files' => 'الملفات والقاعدة', + ], + + 'label' => 'الرجاء الاختيار لإنشاء نسخة إحتياطية', + ], + + 'navigation' => [ + 'group' => 'إعدادات', + 'label' => 'النسخ الإحتياطي', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/cs/backup.php b/lang/vendor/filament-spatie-backup/cs/backup.php new file mode 100644 index 0000000..bad8f27 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/cs/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Stáhnout', + 'delete' => 'Smazat', + ], + + 'fields' => [ + 'path' => 'Cesta', + 'disk' => 'Disk', + 'date' => 'Datum', + 'size' => 'Velikost', + ], + + 'filters' => [ + 'disk' => 'Disk', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Název', + 'disk' => 'Disk', + 'healthy' => 'Stav zdraví', + 'amount' => 'Počet', + 'newest' => 'Nejnovější', + 'used_storage' => 'Využité místo', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Vytvořit zálohu', + ], + + 'heading' => 'Zálohy', + + 'messages' => [ + 'backup_success' => 'Nová záloha byla úspěšně vytvořena.', + 'backup_delete_success' => '"Záloha byla úspěšně odstraněna.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Pouze databáze', + 'only_files' => 'Pouze soubory', + 'db_and_files' => 'Databáze a soubory', + ], + + 'label' => 'Vyberte prosím jednu z možností', + ], + + 'navigation' => [ + 'group' => 'Nastavení', + 'label' => 'Zálohy', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/de/backup.php b/lang/vendor/filament-spatie-backup/de/backup.php new file mode 100644 index 0000000..c9d0541 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/de/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Download', + 'delete' => 'Löschen', + ], + + 'fields' => [ + 'path' => 'Pfad', + 'disk' => 'Speicher', + 'date' => 'Datum', + 'size' => 'Größe', + ], + + 'filters' => [ + 'disk' => 'Speicher', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Name', + 'disk' => 'Speicher', + 'healthy' => 'Gesund', + 'amount' => 'Anzahl', + 'newest' => 'Neuestes', + 'used_storage' => 'Verwendeter Speicher', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Sicherung erstellen', + ], + + 'heading' => 'Backups', + + 'messages' => [ + 'backup_success' => 'Erstelle eine neue Sicherung im Hintergrund.', + 'backup_delete_success' => 'Lösche die Sicherung im Hintergrund.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Nur DB', + 'only_files' => 'Nur Dateien', + 'db_and_files' => 'DB & Dateien', + ], + + 'label' => 'Bitte eine Option auswählen', + ], + + 'navigation' => [ + 'group' => 'Einstellungen', + 'label' => 'Sicherungen', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/en/backup.php b/lang/vendor/filament-spatie-backup/en/backup.php new file mode 100644 index 0000000..387d562 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/en/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Download', + 'delete' => 'Delete', + ], + + 'fields' => [ + 'path' => 'Path', + 'disk' => 'Disk', + 'date' => 'Date', + 'size' => 'Size', + ], + + 'filters' => [ + 'disk' => 'Disk', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Name', + 'disk' => 'Disk', + 'healthy' => 'Healthy', + 'amount' => 'Amount', + 'newest' => 'Newest', + 'used_storage' => 'Used Storage', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Create Backup', + ], + + 'heading' => 'Backups', + + 'messages' => [ + 'backup_success' => 'Creating a new backup in background.', + 'backup_delete_success' => 'Deleting this backup in background.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Only DB', + 'only_files' => 'Only Files', + 'db_and_files' => 'DB & Files', + ], + + 'label' => 'Please choose an option', + ], + + 'navigation' => [ + 'group' => 'Settings', + 'label' => 'Backups', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/es/backup.php b/lang/vendor/filament-spatie-backup/es/backup.php new file mode 100644 index 0000000..553bac5 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/es/backup.php @@ -0,0 +1,69 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Descargar', + 'delete' => 'Eliminar', + ], + + 'fields' => [ + 'path' => 'Ruta', + 'disk' => 'Disco', + 'date' => 'Fecha', + 'size' => 'Tamaño', + ], + + 'filters' => [ + 'disk' => 'Disco', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Nombre', + 'disk' => 'Disco', + 'healthy' => 'Estado', + 'amount' => 'Cantidad', + 'newest' => 'Más reciente', + 'used_storage' => 'Espacio utilizado', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Hacer respaldo', + ], + + 'heading' => 'Respaldos', + + 'messages' => [ + 'backup_success' => 'Creando un nuevo respaldo en segundo plano.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Solo la base de datos', + 'only_files' => 'Solo los archivos', + 'db_and_files' => 'Base de datos y archivos', + ], + + 'label' => 'Elija una opción', + ], + + 'navigation' => [ + 'group' => 'Configuraciones', + 'label' => 'Respaldos', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/fa/backup.php b/lang/vendor/filament-spatie-backup/fa/backup.php new file mode 100644 index 0000000..7aeca84 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/fa/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'دانلود', + 'delete' => 'حذف', + ], + + 'fields' => [ + 'path' => 'مسیر', + 'disk' => 'دیسک', + 'date' => 'تاریخ', + 'size' => 'حجم', + ], + + 'filters' => [ + 'disk' => 'دیسک', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'نام', + 'disk' => 'دیسک', + 'healthy' => 'سالم', + 'amount' => 'تعداد', + 'newest' => 'جدیدترین', + 'used_storage' => 'فضای استفاده شده', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'ایجاد پشتیبان', + ], + + 'heading' => 'پشتیبان‌ها', + + 'messages' => [ + 'backup_success' => 'در حال ایجاد پشتیبان در پس‌زمینه.', + 'backup_delete_success' => 'در حال حذف این پشتیبان در پس‌زمینه.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'فقط دیتابیس', + 'only_files' => 'فقط فایل‌ها', + 'db_and_files' => 'فایل‌ها و دیتابیس', + ], + + 'label' => 'یک گزینه را انتخاب کنید', + ], + + 'navigation' => [ + 'group' => 'تنظیمات', + 'label' => 'پشتیبان‌ها', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/fr/backup.php b/lang/vendor/filament-spatie-backup/fr/backup.php new file mode 100644 index 0000000..bce0073 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/fr/backup.php @@ -0,0 +1,69 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Télécharger', + 'delete' => 'Supprimer', + ], + + 'fields' => [ + 'path' => 'Chemin d\'accès', + 'disk' => 'Disque', + 'date' => 'Date', + 'size' => 'Taille', + ], + + 'filters' => [ + 'disk' => 'Disque', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Nom', + 'disk' => 'Disque', + 'healthy' => 'Statut', + 'amount' => 'Montant', + 'newest' => 'Plus récent', + 'used_storage' => 'Stockage utilisé', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Créer une sauvegarde', + ], + + 'heading' => 'Sauvegardes', + + 'messages' => [ + 'backup_success' => 'Création d\'une nouvelle sauvegarde en arrière-plan.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Seulement la base de données', + 'only_files' => 'Seulement les fichiers', + 'db_and_files' => 'Base de données & Fichiers', + ], + + 'label' => 'Veuillez choisir une option', + ], + + 'navigation' => [ + 'group' => 'Paramètres', + 'label' => 'Sauvegardes', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/id/backup.php b/lang/vendor/filament-spatie-backup/id/backup.php new file mode 100644 index 0000000..7caa223 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/id/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Unduh', + 'delete' => 'Hapus', + ], + + 'fields' => [ + 'path' => 'Lokasi', + 'disk' => 'Penyimpanan', + 'date' => 'Tanggal', + 'size' => 'Ukuran', + ], + + 'filters' => [ + 'disk' => 'Penyimpanan', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Nama', + 'disk' => 'Penyimpanan', + 'healthy' => 'Sehat', + 'amount' => 'Jumlah', + 'newest' => 'Terbaru', + 'used_storage' => 'Penyimpanan Terpakai', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Buat Cadangan', + ], + + 'heading' => 'Cadangan', + + 'messages' => [ + 'backup_success' => 'Membuat cadangan baru di latar belakang.', + 'backup_delete_success' => 'Menghapus cadangan ini di latar belakang.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Hanya DB', + 'only_files' => 'Hanya Berkas', + 'db_and_files' => 'DB & Berkas', + ], + + 'label' => 'Silakan pilih salah satu opsi', + ], + + 'navigation' => [ + 'group' => 'Pengaturan', + 'label' => 'Cadangan', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/it/backup.php b/lang/vendor/filament-spatie-backup/it/backup.php new file mode 100644 index 0000000..3753da3 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/it/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Download', + 'delete' => 'Cancella', + ], + + 'fields' => [ + 'path' => 'Percorso', + 'disk' => 'Disco', + 'date' => 'Data', + 'size' => 'Dimensione', + ], + + 'filters' => [ + 'disk' => 'Disco', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Nome', + 'disk' => 'Disco', + 'healthy' => 'Salute', + 'amount' => 'Quantità', + 'newest' => 'Più recente', + 'used_storage' => 'Storage Utilizzato', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Crea Backup', + ], + + 'heading' => 'Backup', + + 'messages' => [ + 'backup_success' => 'Creazione di un nuovo backup in background.', + 'backup_delete_success' => 'Eliminazione di questo backup in background.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Solo DB', + 'only_files' => 'Solo File', + 'db_and_files' => 'DB & File', + ], + + 'label' => "Scegli un'opzione", + ], + + 'navigation' => [ + 'group' => 'Impostazioni', + 'label' => 'Backup', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/ko/backup.php b/lang/vendor/filament-spatie-backup/ko/backup.php new file mode 100644 index 0000000..3b331be --- /dev/null +++ b/lang/vendor/filament-spatie-backup/ko/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => '다운로드', + 'delete' => '삭제', + ], + + 'fields' => [ + 'path' => '경로', + 'disk' => '디스크', + 'date' => '날짜', + 'size' => '크기', + ], + + 'filters' => [ + 'disk' => '디스크', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => '이름', + 'disk' => '디스크', + 'healthy' => '상태', + 'amount' => '개수', + 'newest' => '최신', + 'used_storage' => '사용된 저장소', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => '백업 생성', + ], + + 'heading' => '백업', + + 'messages' => [ + 'backup_success' => '새 백업을 백그라운드에서 생성하는 중입니다.', + 'backup_delete_success' => '이 백업을 백그라운드에서 삭제하는 중입니다.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => '데이터베이스만', + 'only_files' => '파일만', + 'db_and_files' => '데이터베이스 & 파일', + ], + + 'label' => '옵션을 선택해 주세요', + ], + + 'navigation' => [ + 'group' => '설정', + 'label' => '백업', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/nl/backup.php b/lang/vendor/filament-spatie-backup/nl/backup.php new file mode 100644 index 0000000..da1bec8 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/nl/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Download', + 'delete' => 'Verwijderen', + ], + + 'fields' => [ + 'path' => 'Pad', + 'disk' => 'Disk', + 'date' => 'Datum', + 'size' => 'Grootte', + ], + + 'filters' => [ + 'disk' => 'Disk', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Naam', + 'disk' => 'Disk', + 'healthy' => 'Gezond', + 'amount' => 'Aantal', + 'newest' => 'Laatste', + 'used_storage' => 'Gebruikte opslag', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Backup maken', + ], + + 'heading' => 'Backups', + + 'messages' => [ + 'backup_success' => 'Backup maken in de achtergrond.', + 'backup_delete_success' => 'Backup verwijderen in de achtergrond.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Alleen DB', + 'only_files' => 'Alleen bestanden', + 'db_and_files' => 'DB en bestanden', + ], + + 'label' => 'Kies een optie', + ], + + 'navigation' => [ + 'group' => 'Instellingen', + 'label' => 'Backups', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/pt/backup.php b/lang/vendor/filament-spatie-backup/pt/backup.php new file mode 100644 index 0000000..d63a1a9 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/pt/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Download', + 'delete' => 'Eliminar', + ], + + 'fields' => [ + 'path' => 'Caminho', + 'disk' => 'Disco', + 'date' => 'Data', + 'size' => 'Tamanho', + ], + + 'filters' => [ + 'disk' => 'Disco', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Nome', + 'disk' => 'Disco', + 'healthy' => 'Estado', + 'amount' => 'Quantidade', + 'newest' => 'Recente', + 'used_storage' => 'Espaço Utilizado', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Criar Cópia de Segurança', + ], + + 'heading' => 'Cópias de Segurança', + + 'messages' => [ + 'backup_success' => 'A criar uma nova cópia de segurança em segundo plano.', + 'backup_delete_success' => 'A eliminar esta cópia de segurança em segundo plano.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Apenas BD', + 'only_files' => 'Apenas Ficheiros', + 'db_and_files' => 'BD & Ficheiros', + ], + + 'label' => 'Por favor, seleccione uma opção', + ], + + 'navigation' => [ + 'group' => 'Definições', + 'label' => 'Cópias de Segurança', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/pt_BR/backup.php b/lang/vendor/filament-spatie-backup/pt_BR/backup.php new file mode 100644 index 0000000..004aff4 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/pt_BR/backup.php @@ -0,0 +1,69 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Download', + 'delete' => 'Excluir', + ], + + 'fields' => [ + 'path' => 'Caminho', + 'disk' => 'Disco', + 'date' => 'Data', + 'size' => 'Tamanho', + ], + + 'filters' => [ + 'disk' => 'Disco', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Nome', + 'disk' => 'Disco', + 'healthy' => 'Saúde', + 'amount' => 'Quant.', + 'newest' => 'Recente', + 'used_storage' => 'Espaço utilizado', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Criar Backup', + ], + + 'heading' => 'Backups', + + 'messages' => [ + 'backup_success' => 'Criando um novo em segundo plano.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Apenas DB', + 'only_files' => 'Apenas arquivos', + 'db_and_files' => 'DB & Arquivos', + ], + + 'label' => 'Por favor, escolha uma opção', + ], + + 'navigation' => [ + 'group' => 'Configurações', + 'label' => 'Backups', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/pt_PT/backup.php b/lang/vendor/filament-spatie-backup/pt_PT/backup.php new file mode 100644 index 0000000..387e1dd --- /dev/null +++ b/lang/vendor/filament-spatie-backup/pt_PT/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Descarregar', + 'delete' => 'Eliminar', + ], + + 'fields' => [ + 'path' => 'Caminho', + 'disk' => 'Disco', + 'date' => 'Data', + 'size' => 'Tamanho', + ], + + 'filters' => [ + 'disk' => 'Disco', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Nome', + 'disk' => 'Disco', + 'healthy' => 'Estado', + 'amount' => 'Quantidade', + 'newest' => 'Recente', + 'used_storage' => 'Espaço Utilizado', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Criar Cópia de Segurança', + ], + + 'heading' => 'Cópias de Segurança', + + 'messages' => [ + 'backup_success' => 'A criar uma nova cópia de segurança em segundo plano.', + 'backup_delete_success' => 'A eliminar esta cópia de segurança em segundo plano.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Apenas BD', + 'only_files' => 'Apenas Ficheiros', + 'db_and_files' => 'BD & Ficheiros', + ], + + 'label' => 'Por favor, seleccione uma opção', + ], + + 'navigation' => [ + 'group' => 'Definições', + 'label' => 'Cópias de Segurança', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/ru/backup.php b/lang/vendor/filament-spatie-backup/ru/backup.php new file mode 100644 index 0000000..be28896 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/ru/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Скачать', + 'delete' => 'Удалить', + ], + + 'fields' => [ + 'path' => 'Путь', + 'disk' => 'Диск', + 'date' => 'Дата', + 'size' => 'Размер', + ], + + 'filters' => [ + 'disk' => 'Диск', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Имя', + 'disk' => 'Диск', + 'healthy' => 'Исправен', + 'amount' => 'Количество', + 'newest' => 'Последний', + 'used_storage' => 'Объём в хранилище', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Создать резервную копию', + ], + + 'heading' => 'Резервные копии', + + 'messages' => [ + 'backup_success' => 'Создание новой резервной копии в фоновом режиме.', + 'backup_delete_success' => 'Удаление этой резервной копии в фоновом режиме.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Только база', + 'only_files' => 'Только файлы', + 'db_and_files' => 'База и файлы', + ], + + 'label' => 'Пожалуйста, выберите опцию', + ], + + 'navigation' => [ + 'group' => 'Настройки', + 'label' => 'Резервные копии', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/tr/backup.php b/lang/vendor/filament-spatie-backup/tr/backup.php new file mode 100644 index 0000000..fafad37 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/tr/backup.php @@ -0,0 +1,69 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'İndir', + 'delete' => 'Sil', + ], + + 'fields' => [ + 'path' => 'Yol', + 'disk' => 'Disk', + 'date' => 'Tarih', + 'size' => 'Boyut', + ], + + 'filters' => [ + 'disk' => 'Disk', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Ad', + 'disk' => 'Disk', + 'healthy' => 'Sağlık', + 'amount' => 'Adet', + 'newest' => 'Zaman', + 'used_storage' => 'Kullanılan Depolama', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Yedek Oluştur', + ], + + 'heading' => 'Yedekler', + + 'messages' => [ + 'backup_success' => 'Arka planda yeni bir yedek oluşturuluyor.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Sadece Veri Tabanı', + 'only_files' => 'Sadece Dosyalar', + 'db_and_files' => 'Veri Tabanı & Dosyalar', + ], + + 'label' => 'Bir seçenek seçin', + ], + + 'navigation' => [ + 'group' => 'Ayarlar', + 'label' => 'Yedekler', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/vi/backup.php b/lang/vendor/filament-spatie-backup/vi/backup.php new file mode 100644 index 0000000..7d1fbeb --- /dev/null +++ b/lang/vendor/filament-spatie-backup/vi/backup.php @@ -0,0 +1,69 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => 'Tải xuống', + 'delete' => 'Xóa', + ], + + 'fields' => [ + 'path' => 'Đường dẫn', + 'disk' => 'Ổ đĩa', + 'date' => 'Ngày', + 'size' => 'Kích thước', + ], + + 'filters' => [ + 'disk' => 'Ổ đĩa', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => 'Tên', + 'disk' => 'Ổ đĩa', + 'healthy' => 'Sức khỏe', + 'amount' => 'Số lượng', + 'newest' => 'Mới nhất', + 'used_storage' => 'Bộ nhớ đã dùng', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => 'Tạo bản sao lưu', + ], + + 'heading' => 'Sao lưu', + + 'messages' => [ + 'backup_success' => 'Đang chạy tạo bản sao lưu dưới nền.', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => 'Chỉ DB', + 'only_files' => 'Chỉ Tệp tin', + 'db_and_files' => 'DB & Tệp tin', + ], + + 'label' => 'Vui lòng chọn một tùy chọn', + ], + + 'navigation' => [ + 'group' => 'Cài đặt', + 'label' => 'Sao lưu', + ], + ], + ], + +]; diff --git a/lang/vendor/filament-spatie-backup/zh_CN/backup.php b/lang/vendor/filament-spatie-backup/zh_CN/backup.php new file mode 100644 index 0000000..2cddd09 --- /dev/null +++ b/lang/vendor/filament-spatie-backup/zh_CN/backup.php @@ -0,0 +1,70 @@ + [ + 'backup_destination_list' => [ + 'table' => [ + 'actions' => [ + 'download' => '下载', + 'delete' => '删除', + ], + + 'fields' => [ + 'path' => '路径', + 'disk' => '磁盘', + 'date' => '日期', + 'size' => '大小', + ], + + 'filters' => [ + 'disk' => '磁盘', + ], + ], + ], + + 'backup_destination_status_list' => [ + 'table' => [ + 'fields' => [ + 'name' => '文件名', + 'disk' => '所属磁盘', + 'healthy' => '健康状况', + 'amount' => '大小', + 'newest' => '最新备份', + 'used_storage' => '占用空间', + ], + ], + ], + ], + + 'pages' => [ + 'backups' => [ + 'actions' => [ + 'create_backup' => '创建备份', + ], + + 'heading' => '数据备份', + + 'messages' => [ + 'backup_success' => '在后台创建新备份', + 'backup_delete_success' => '在后台删除此备份', + ], + + 'modal' => [ + 'buttons' => [ + 'only_db' => '仅备份数据库', + 'only_files' => '仅备份文件', + 'db_and_files' => '备份数据库和文件', + ], + + 'label' => '请选择一个选项', + ], + + 'navigation' => [ + 'group' => '系统设置', + 'label' => '数据备份', + ], + ], + ], + +]; diff --git a/public/css/filament-spatie-backup/filament-spatie-backup-styles.css b/public/css/filament-spatie-backup/filament-spatie-backup-styles.css new file mode 100644 index 0000000..0f08143 --- /dev/null +++ b/public/css/filament-spatie-backup/filament-spatie-backup-styles.css @@ -0,0 +1 @@ +.fsb-flex{display:flex}.fsb-flex-col{flex-direction:column}.fsb-justify-between{justify-content:space-between}.fsb-mb-10{margin-bottom:2.5rem}.fsb-gap-x-2{column-gap:.5rem}.fsb-gap-y-8{row-gap:2rem}.fsb-w-full{width:100%} \ No newline at end of file