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

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

lampdevs/backup
===============

Lampedev Backup Package

v1.0.0(1mo ago)00MITPHPPHP &gt;=8.2

Since Apr 21Pushed 1mo agoCompare

[ Source](https://github.com/Lampfam74/packages-backup)[ Packagist](https://packagist.org/packages/lampdevs/backup)[ RSS](/packages/lampdevs-backup/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Voici ton **README.md en pur Markdown (propre, prêt Packagist / GitHub)** 👇

Laravel Backup Manager
======================

[](#laravel-backup-manager)

A simple and powerful Laravel package to automate full project backups.

It allows you to backup:

- 🗄 Database (MySQL / PostgreSQL)
- 📁 Laravel application files
- 💾 Storage folder
- ⚙️ .env file
- 📦 Automatic ZIP compression
- ⏰ Scheduler support

---

🚀 Features
==========

[](#-features)

- Full database backup (MySQL / PostgreSQL)
- Backup of Laravel project files
- Secure `.env` backup
- ZIP compression support
- Artisan command integration
- Scheduler (cron ready)
- Lightweight &amp; fast

---

📥 Installation
==============

[](#-installation)

Install via Composer:

```
composer require lampdevs/backup
```

---

⚙️ Publish Configuration
========================

[](#️-publish-configuration)

```
php artisan vendor:publish --tag=backup-config
```

---

🧠 Usage
=======

[](#-usage)

Run backup manually:

```
php artisan lamp:backup
```

---

⏰ Scheduler (Automatic Backup)
==============================

[](#-scheduler-automatic-backup)

Add this to `app/Console/Kernel.php`:

```
protected function schedule($schedule)
{
    $schedule->command('lamp:backup')->daily();
}
```

---

📁 Backup Output
===============

[](#-backup-output)

Backups are stored in:

```
storage/app/backups/

```

Example:

```
backup-2026-04-22-120000.zip

```

Inside ZIP:

```
database.sql
.env
storage/
app/

```

---

⚙️ Configuration
================

[](#️-configuration)

File: `config/backup.php`

```
return [
    'path' => storage_path('app/backups'),
    'database' => true,
    'files' => true,
    'zip' => true,
    'keep_days' => 7,
];
```

---

🔐 Security Notes
================

[](#-security-notes)

- Never expose `.env`
- Use scheduler in production
- Store backups outside public directory
- Protect backup folder with server rules

---

🧪 Requirements
==============

[](#-requirements)

- PHP &gt;= 8.2
- Laravel &gt;= 10
- ZipArchive enabled
- mysqldump / pg\_dump available

---

🛠 Example Command
=================

[](#-example-command)

```
php artisan lamp:backup
```

Output:

```
Backup started...
Database backed up
Storage backed up
ZIP created
Backup completed successfully

```

---

📌 Roadmap
=========

[](#-roadmap)

- Cloud storage (AWS S3 / Google Drive)
- Backup encryption
- Restore command
- Web dashboard UI
- Email / Slack notifications

---

🤝 Author
========

[](#-author)

**LampDevs**ERP &amp; DevSecOps Solutions

---

📄 License
=========

[](#-license)

MIT License

```

---

Si tu veux, je peux maintenant te faire :

👉 Packagist-ready GitHub repo structure
👉 ServiceProvider + auto-discovery clean
👉 Restore system (`php artisan lamp:restore`)
👉 Cloud backup (S3 / FTP / Google Drive)

Dis juste : **“upgrade package pro”** 🚀

```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

49d ago

### Community

Maintainers

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

---

Top Contributors

[![Lampfam74](https://avatars.githubusercontent.com/u/96761672?v=4)](https://github.com/Lampfam74 "Lampfam74 (5 commits)")

### Embed Badge

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

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

###  Alternatives

[glicer/sync-sftp

Sync local files with ftp server

212.7k](/packages/glicer-sync-sftp)[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.7k](/packages/venveo-craft-compress)

PHPackages © 2026

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