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)2513.0k↑18.1%2[3 issues](https://github.com/kbond/php-backup/issues)[1 PRs](https://github.com/kbond/php-backup/pulls)2MITPHPPHP &gt;=8.0CI failing

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 yesterday

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

40

—

FairBetter than 86% of packages

Maintenance18

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

865d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M736](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M419](/packages/drupal-core-recommended)

PHPackages © 2026

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