PHPackages                             calmbackup/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. [Database &amp; ORM](/categories/database)
4. /
5. calmbackup/backup

ActiveLibrary[Database &amp; ORM](/categories/database)

calmbackup/backup
=================

Zero-knowledge encrypted backups for PHP applications

v1.0.2(4w ago)086↓90.9%MITPHPPHP ^8.2

Since Mar 20Pushed 4w agoCompare

[ Source](https://github.com/calmbackup/cb-package)[ Packagist](https://packagist.org/packages/calmbackup/backup)[ Docs](https://calmbackup.com)[ RSS](/packages/calmbackup-backup/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (6)Versions (5)Used By (0)

CalmBackup
==========

[](#calmbackup)

Zero-knowledge encrypted backups for PHP applications. Your data is encrypted on your server before it leaves — we store only an opaque blob we can't read.

Works with **any PHP application**. Laravel gets artisan commands as a bonus.

Install
-------

[](#install)

```
composer require calmbackup/backup
```

Setup
-----

[](#setup)

### Any PHP app

[](#any-php-app)

```
vendor/bin/calmbackup init
```

### Laravel

[](#laravel)

```
php artisan backup:install
```

Both wizards will:

- Validate your API key
- Generate your encryption key locally (never sent to us)
- Configure your database connection
- Save a recovery key file

Usage
-----

[](#usage)

### Run a backup

[](#run-a-backup)

```
# Laravel
php artisan backup:run

# Any PHP app
vendor/bin/calmbackup run
```

### Schedule daily backups

[](#schedule-daily-backups)

**Laravel:** Automatic — the service provider registers a daily backup at 02:00.

**Any PHP app:** Add to crontab:

```
0 2 * * * cd /path/to/project && vendor/bin/calmbackup run >> /dev/null 2>&1

```

### List backups

[](#list-backups)

```
php artisan backup:list          # Laravel
vendor/bin/calmbackup list-backups   # Any PHP
```

### Restore

[](#restore)

```
php artisan backup:restore       # Laravel
vendor/bin/calmbackup restore    # Any PHP
```

### Status check

[](#status-check)

```
php artisan backup:status        # Laravel
vendor/bin/calmbackup status     # Any PHP
```

Supported databases
-------------------

[](#supported-databases)

- MySQL
- PostgreSQL
- SQLite

How it works
------------

[](#how-it-works)

1. Dumps your database using native tools (`mysqldump`, `pg_dump`, `sqlite3`)
2. Archives the dump + optional directories into `.tar.gz`
3. Encrypts with AES-256-GCM using your key
4. Uploads the encrypted blob via presigned URL (direct to storage, never through our servers)
5. Confirms the upload with the CalmBackup API

We never see your encryption key. We can't decrypt your backups. That's the point.

Requirements
------------

[](#requirements)

- PHP 8.2+
- ext-openssl, ext-curl, ext-phar
- Database CLI tools in PATH (`mysqldump`/`mysql`, `pg_dump`/`pg_restore`, or `sqlite3`)

License
-------

[](#license)

MIT

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance94

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~56 days

Total

3

Last Release

29d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ce5eee0462cc2754b1acdc71ff123aa6c5032c7b2b39302fdc3f21c5a3da5f2?d=identicon)[calmbackup](/maintainers/calmbackup)

---

Top Contributors

[![claude](https://avatars.githubusercontent.com/u/81847?v=4)](https://github.com/claude "claude (7 commits)")

---

Tags

phplaravelencryptiondatabasebackupmysqlsqlitepostgresqlzero-knowledge

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[vcian/laravel-db-auditor

Database DB Auditor provide leverage to audit your MySql,sqlite, PostgreSQL database standards and also provide options to add constraints in table.

28639.1k1](/packages/vcian-laravel-db-auditor)[ramadan/custom-fresh

A Laravel package to specify the tables that you do not want to drop while refreshing the database.

611.6k](/packages/ramadan-custom-fresh)[moharrum/laravel-adminer

Adminer database management tool for your Laravel application.

451.0k](/packages/moharrum-laravel-adminer)[ramadan/easy-model

A Laravel package for enjoyably managing database queries.

111.6k](/packages/ramadan-easy-model)

PHPackages © 2026

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