承接 cleaniquecoders/laravel-config-backup 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

cleaniquecoders/laravel-config-backup

最新稳定版本:v1.1.0

Composer 安装命令:

composer require cleaniquecoders/laravel-config-backup

包简介

Backup and restore Laravel configuration (.env and database settings) as a portable AES-256 encrypted archive.

README 文档

README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Back up and restore your Laravel application configuration — the .env file and database-stored settings — as a single portable, AES-256 password-encrypted ZIP. Contents are stored decrypted inside the encrypted archive, so on import every encrypted database column is re-encrypted with the destination server's APP_KEY — making a backup taken on one server restorable on another. Every restore takes an automatic pre-restore safety snapshot first.

Config Backup dashboard

Features

  • 🔐 AES-256 password-encrypted archives (the password is never stored)
  • 📦 Two sections: env (the .env file) and database (allowlisted DB-stored settings)
  • 🔁 Portable across servers — DB columns re-encrypted with the destination APP_KEY
  • 🛟 Automatic pre-restore safety snapshot + preview/diff before restoring
  • 🧹 Retention pruning, optional scheduler, mail notifications
  • 🖥️ Artisan commands and an optional Livewire + Flux UI

Installation

composer require cleaniquecoders/laravel-config-backup
php artisan vendor:publish --tag="laravel-config-backup-migrations"
php artisan vendor:publish --tag="laravel-config-backup-config"
php artisan migrate

Store archives on a private disk. They contain every secret — the ZIP encryption is a second layer, not a licence to expose them.

Quick Start

# Create a backup (prompts for the encryption password securely)
php artisan config-backup:create --sections=env,database --notes="before upgrade"

# List, preview a restore, then restore
php artisan config-backup:list
php artisan config-backup:restore {uuid} --dry-run
php artisan config-backup:restore {uuid}
use CleaniqueCoders\ConfigBackup\Facades\ConfigBackup;

$backup = ConfigBackup::create(['env', 'database'], 'a-strong-password');
$result = ConfigBackup::restore($absPath, 'a-strong-password', ['env', 'database']);

Documentation

Full reference lives in docs/:

  • Getting Started — installation & configuration
  • Usage — CLI, programmatic, and the web UI
  • Configuration — config keys, database allowlist, scheduling & notifications
  • Guides — authorization, APP_KEY portability, local development

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固