PHPackages                             flamix/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. flamix/laravel-backup

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

flamix/laravel-backup
=====================

Backup to telegram

01.0k↓21.4%PHP

Since Jun 18Pushed 2w ago1 watchersCompare

[ Source](https://github.com/rshkabko/laravel-backup)[ Packagist](https://packagist.org/packages/flamix/laravel-backup)[ RSS](/packages/flamix-laravel-backup/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Backup
==============

[](#laravel-backup)

Free database backups for "pet projects": dumps the MariaDB/MySQL database, zips it, and delivers it to your Telegram account — convenient and cost-free.

Install
-------

[](#install)

```
// Config
php artisan vendor:publish --provider="Flamix\LaravelBackup\LaravelBackupProvider" --tag="config"

// Add to scheduler: routes/console.php (or App\Console\Kernel)
Schedule::command('backup:database')->dailyAt('01:07')->runInBackground();
```

Run manually
------------

[](#run-manually)

```
php artisan backup:database
```

Config / .env
-------------

[](#config--env)

```
BACKUP_ENABLED=true
BACKUP_TELEGRAM_ENABLED=true
BACKUP_TELEGRAM_BOT_TOKEN=...
BACKUP_TELEGRAM_CHAT_ID=...
BACKUP_TELEGRAM_CHUNK_SIZE=47185920   # optional, default 45 MB
```

Ignore tables (data is skipped, structure is kept) via `config/backup.php`:

```
'database' => ['ignore' => ['activity_log', 'cache']], // no table prefix
```

Large backups (&gt; 50 MB)
--------------------------

[](#large-backups--50-mb)

Telegram Bot API limits `sendDocument` to 50 MB. When the zip is bigger it is split into chunks of `backup.telegram.chunk_size` bytes (45 MB by default) and sent as separate documents named `.001`, `.002`, … Each part is captioned `part k/N`, followed by a restore note.

Restore from parts:

```
cat your_backup.zip.0* > backup.zip && unzip backup.zip
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance63

Regular maintenance activity

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16613944?v=4)[flamix](/maintainers/flamix)[@flamix](https://github.com/flamix)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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