Download the PHP package nowo-tech/site-backup-bundle without Composer
On this page you can find all versions of the php package nowo-tech/site-backup-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nowo-tech/site-backup-bundle
More information about nowo-tech/site-backup-bundle
Files in nowo-tech/site-backup-bundle
Package site-backup-bundle
Short Description Symfony bundle for integral website backups with checksum integrity and a safe restore UI (loading page) that does not break the app mid-restore.
License MIT
Homepage https://github.com/nowo-tech/SiteBackupBundle
Informations about the package site-backup-bundle
Site Backup Bundle
⭐ Found this useful? Install from Packagist · Give it a star on GitHub so more developers can find it.
Site Backup Bundle — Create an integral website backup (selected paths + optional DB dump + SHA-256 MANIFEST.json), restore it safely behind a loading page UI, and finish cold bootstrap with a setup wizard (DB, migrations, admin, sample data). Tested on Symfony 7.4, 8.0, and 8.1 · PHP 8.2+ (Symfony 8.x requires PHP 8.4+).
This bundle is FrankenPHP worker mode friendly.
Features
- Integral backup — Configurable include paths, exclude patterns, optional
database_dump_command,.tar.gz+ sidecar metadata. - Integrity — Per-file SHA-256 in
MANIFEST.jsonplus archive SHA-256;verifybefore restore. - Safe restore — Validate → extract to staging → apply with protected paths → progress JSON;
var/site-backup/never overwritten mid-restore. - Loading page — While restore is active,
kernel.requestreturns HTTP 503 with a progress UI (polls/_site_backup/progress.json); panel stays reachable. - Setup wizard — Cold start / post-restore: bootstrap mode (guided vs full SQL), DB, migrations/schema, YAML tabs + checkers,
advance_mode, idempotent loaders, super-admin, optional sample data; durable progress (filesystem/doctrine/cache/cache_doctrine/chain); MySQL cold-start schema gate (setup.cold_start.require_application_tables) — see docs/SETUP-WIZARD.md. - Admin panel — Create / verify / restore / delete under
/_site_backup(password gate + CSRF). - CLI —
create,list,verify,restore,setup,setup-status,setup-reset,hash-password.
Installation
With Symfony Flex, the recipe registers the bundle and config. Without Flex, see docs/INSTALLATION.md.
Requirements
- PHP
>=8.2(<8.6); Symfony 8.0 and 8.1 require PHP 8.4+ - Symfony 7.4, 8.0, or 8.1 (minimum supported minors; also works on Symfony 7.0–7.3 via
composer.jsonconstraints) taravailable on the host/container for archive create/extract- Twig for the restore page, panel, and setup wizard templates
Configuration
Usage
Open /_site_backup to manage backups from the UI. During restore, visitors see the loading page; the panel and progress endpoint keep working. For cold DB / post-restore, open /_setup (see docs/SETUP-WIZARD.md).
See docs/USAGE.md.
Demo
| Demo | Symfony | PHP | Default port |
|---|---|---|---|
demo/symfony8 |
8.1 | 8.5 | 8056 |
Runs FrankenPHP + Caddy (FRANKENPHP_MODE=worker by default). See docs/DEMO-FRANKENPHP.md.
Development
Documentation
- Installation
- Configuration
- PSR evaluation (REQ-CS-007)
- Usage
- Contributing
- Code of Conduct
- Changelog
- Upgrading
- Release
- Security
- Engram
- Spec-driven development
- GitHub Spec Kit
Additional documentation
- Setup Wizard (cold start & post-restore)
- Demo (FrankenPHP)
- GitHub CI notes
Tests and coverage
- Tests: PHPUnit (PHP)
- PHP: 99.4% Lines (gate ≥ 99% via
make coverage-check) - Residual OS/defensive branches: see docs/COVERAGE.md
License and author
MIT · Nowo.tech
All versions of site-backup-bundle with dependencies
php Version >=8.2 <8.6
symfony/config Version ^7.0 || ^8.0
symfony/console Version ^7.0 || ^8.0
symfony/dependency-injection Version ^7.0 || ^8.0
symfony/event-dispatcher Version ^7.0 || ^8.0
symfony/form Version ^7.0 || ^8.0
symfony/filesystem Version ^7.0 || ^8.0
symfony/finder Version ^7.0 || ^8.0
symfony/http-foundation Version ^7.0 || ^8.0
symfony/http-kernel Version ^7.0 || ^8.0
symfony/process Version ^7.0 || ^8.0
symfony/routing Version ^7.0 || ^8.0
symfony/security-core Version ^7.0 || ^8.0
symfony/security-csrf Version ^7.0 || ^8.0
symfony/yaml Version ^7.0 || ^8.0
twig/extra-bundle Version ^3.12
twig/string-extra Version ^3.12