yezzmedia/laravel-ops-backups 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yezzmedia/laravel-ops-backups

最新稳定版本:0.1.1

Composer 安装命令:

composer require yezzmedia/laravel-ops-backups

包简介

Ops-facing backup posture, retention visibility, and restore readiness package for the Yezz Media Laravel platform.

README 文档

README

yezzmedia/laravel-ops-backups is the Yezz Media ops-facing package for backup posture, retention visibility, restore readiness, and backup failure reporting.

It is intentionally a visibility and metadata package, not a backup execution engine.

V1 Scope

  • backup target inventory for platform, site, or resource scopes
  • backup posture summary and detail views in the ops panel
  • retention visibility and restore-readiness visibility
  • recent failure reporting
  • package-owned metadata recording actions for targets, runs, and artifacts
  • package-owned audit events for refreshes and metadata recording
  • doctor checks for store readiness, recent successful backups, retention coverage, and restore artifacts availability

Non-Goals

  • no real backup execution
  • no real restore execution
  • no artifact download UI
  • no storage browsing
  • no raw backup-content inspection
  • no credential-bearing destination URIs in package metadata

Package Surface

Permissions

  • ops.backups.view
  • ops.backups.manage

Both permissions declare defaultRoleHints: ['super-admin']. Persistence and role assignment remain owned by yezzmedia/laravel-access.

Features

  • backups.inventory
  • backups.retention
  • backups.restore_readiness
  • backups.failures

Audit Events

  • ops.backups.posture_refreshed
  • ops.backups.target_updated
  • ops.backups.run_recorded
  • ops.backups.artifact_recorded

Main Building Blocks

  • OpsBackupsPlatformPackage
  • OpsBackupsServiceProvider
  • OpsBackupsFilamentPlugin
  • OpsBackupsManager
  • RefreshBackupPostureAction
  • UpsertBackupTargetAction
  • RecordBackupRunAction
  • RecordBackupArtifactAction
  • OpsBackupsPage
  • BackupTargetDetailsPage

Storage

The package owns these tables:

  • ops_backup_targets
  • ops_backup_runs
  • ops_backup_artifacts

These tables store operator-safe metadata only.

Development

Package-local scripts:

composer format
composer analyse
composer test

Shared fixture verification from 1-dev-test:

composer test:ops-backups
composer test:all

Host Integration

To expose the package in a consuming host:

  1. require yezzmedia/laravel-ops-backups
  2. install or update dependencies in the host
  3. run package migrations
  4. synchronize permissions through yezzmedia/laravel-access
  5. verify /ops/ops-backups

License

Proprietary. All rights reserved by Yezz Media.

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-04-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固