PHPackages                             phpfy/laravel-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. phpfy/laravel-backup

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

phpfy/laravel-backup
====================

A comprehensive Laravel backup package with support for multiple databases and file backups

v1.0.0(6mo ago)01MITPHPPHP ^8.1

Since Dec 19Pushed 6mo agoCompare

[ Source](https://github.com/rahul4902/phpfy-laravel-backup)[ Packagist](https://packagist.org/packages/phpfy/laravel-backup)[ Docs](https://github.com/yourusername/laravel-backup)[ RSS](/packages/phpfy-laravel-backup/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (7)Versions (2)Used By (0)

**Laravel Backup Package**
==========================

[](#laravel-backup-package)

**A production-ready Laravel package for backing up your database and application files.**
Works with **MySQL, PostgreSQL, SQLite, and SQL Server** using **pure PHP database dumps**, without requiring external CLI tools like `mysqldump` or `pg_dump`.
Designed for **commercial and open-source projects**.

---

**✨ Features**
--------------

[](#-features)

- ✅ Database backups: **MySQL, PostgreSQL, SQLite, SQL Server**
- ✅ File backups with **include &amp; exclude paths**
- ✅ **No external dump tools required** (pure PHP)
- ✅ **AES-256 encryption** support
- ✅ Multiple storage disks (**local, S3, FTP, etc.**)
- ✅ Automatic cleanup with **retention rules**
- ✅ Artisan commands for run, list &amp; clean backups
- ✅ Scheduler-ready (Laravel Scheduler)
- ✅ Fully tested &amp; **PSR-compliant structure**

---

**📋 Requirements**
------------------

[](#-requirements)

- PHP **8.1 or higher**
- Laravel **10.x or 11.x**
- Required PDO extensions:
    - `pdo_mysql`
    - `pdo_pgsql`
    - `pdo_sqlite`
    - `pdo_sqlsrv`

---

**📦 Installation**
------------------

[](#-installation)

```
composer require phpfy/laravel-backup
```

```
php artisan vendor:publish --provider="Phpfy\LaravelBackup\LaravelBackupServiceProvider" --tag=backup-config
```

---

**⚙️ Configuration**
--------------------

[](#️-configuration)

Config file location:

```
config/backup.php

```

---

**🚀 Usage**
-----------

[](#-usage)

```
php artisan backup:run
php artisan backup:list
php artisan backup:clean
```

---

**🧪 Testing**
-------------

[](#-testing)

```
composer test
```

---

**📄 License**
-------------

[](#-license)

MIT License.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance67

Regular maintenance activity

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

196d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a24ad64b47153efe997ed60b3557530b9cc9981190753b71aacce34d2f270910?d=identicon)[phpfy](/maintainers/phpfy)

---

Top Contributors

[![rahul4902](https://avatars.githubusercontent.com/u/100674575?v=4)](https://github.com/rahul4902 "rahul4902 (1 commits)")[![rahulcyber](https://avatars.githubusercontent.com/u/124552500?v=4)](https://github.com/rahulcyber "rahulcyber (1 commits)")

---

Tags

laravelencryptiondatabasebackupmysqlsqlitepostgresqlfilessql server

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k24.4M244](/packages/spatie-laravel-backup)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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