PHPackages                             zenstruck/backup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. zenstruck/backup

ActiveLibrary[File &amp; Storage](/categories/file-storage)

zenstruck/backup
================

Library to create and archive backups

v2.1.0(2y ago)2511.8k↓25%2[1 issues](https://github.com/kbond/php-backup/issues)[1 PRs](https://github.com/kbond/php-backup/pulls)2MITPHPPHP &gt;=8.0

Since Oct 28Pushed 2y ago2 watchersCompare

[ Source](https://github.com/kbond/php-backup)[ Packagist](https://packagist.org/packages/zenstruck/backup)[ Docs](https://zenstruck.com/projects/php-backup)[ GitHub Sponsors](https://github.com/kbond)[ RSS](/packages/zenstruck-backup/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (17)Used By (2)

zenstruck/backup
================

[](#zenstruckbackup)

Create and archive backups. [A Symfony Bundle](https://github.com/kbond/ZenstruckBackupBundle) and a [Laravel package](https://github.com/vinkla/backup) is available that wraps this library.

An "executor" takes a backup profile and processes it. A backup "profile" consists of 4 parts:

1. **Source(s)**: What to backup (ie database/files). The source fetches files and copies them to a "scratch" directory. These files are typically persisted between backups (improves rsync performance) but can be cleared by the "executor".
2. **Processor**: Convert to a single file (ie zip/tar.gz). This step uses a **Namer** to name the file.
3. **Namer**: Generates a filename to be used by the above processor.
4. **Destination**: Where to send the backup (ie filesystem/S3).

Installation
------------

[](#installation)

1. Install this library:

    ```
     composer require zenstruck/backup

    ```
2. (Optional) Install process (used by some Destinations, Sources and Processors):

    ```
     composer require symfony/process

    ```
3. (Optional) Install console (for the console command):

    ```
     composer require symfony/console

    ```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 90.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~217 days

Recently: every ~116 days

Total

15

Last Release

820d ago

Major Versions

v0.1.0 → v1.0.02015-10-31

v1.5.1 → v2.0.02022-11-10

1.x-dev → v2.0.12023-11-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/707369cc916e0ea1aacbf077dcba464f611cef879f024d8944311a54a15224b3?d=identicon)[kbond](/maintainers/kbond)

---

Top Contributors

[![kbond](https://avatars.githubusercontent.com/u/127811?v=4)](https://github.com/kbond "kbond (47 commits)")[![Chris53897](https://avatars.githubusercontent.com/u/7104259?v=4)](https://github.com/Chris53897 "Chris53897 (3 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (2 commits)")

---

Tags

backup

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zenstruck-backup/health.svg)

```
[![Health](https://phpackages.com/badges/zenstruck-backup/health.svg)](https://phpackages.com/packages/zenstruck-backup)
```

###  Alternatives

[zanysoft/laravel-zip

laravel-zip is the world's leading zip utility for file compression and backup.

3142.8M15](/packages/zanysoft-laravel-zip)[gliterd/backblaze-b2

PHP SDK for working with backblaze B2 cloud storage.

84263.3k8](/packages/gliterd-backblaze-b2)[cwhite92/b2-sdk-php

A SDK for working with B2 cloud storage.

74146.6k2](/packages/cwhite92-b2-sdk-php)[bringyourownideas/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5. Original by Paul Olthof (@hpolthof) continued by @bringyourownideas

1237.8k](/packages/bringyourownideas-laravel-backblaze)[innoge/laravel-rclone

A sleek PHP wrapper around rclone with Laravel-style fluent API syntax

174.1k](/packages/innoge-laravel-rclone)[cometbackup/comet-php-sdk

PHP SDK for the Comet Server API

107.7k](/packages/cometbackup-comet-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
