PHPackages                             norman-huth/laravel-git-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. norman-huth/laravel-git-backup

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

norman-huth/laravel-git-backup
==============================

A Laravel package to backup your application on GitHub

1.0.2(2y ago)030MITPHPPHP ^8.0

Since Feb 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Muetze42/laravel-git-backup)[ Packagist](https://packagist.org/packages/norman-huth/laravel-git-backup)[ Fund](https://huth.it/coffee)[ RSS](/packages/norman-huth-laravel-git-backup/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (5)Used By (0)

Laravel Git Backup
==================

[](#laravel-git-backup)

Actually, I didn't want to make it as a (public) package. So I kept everything short and simple in this readme.

This package create a backup via Git.

A few code parts are taken from [spatie/laravel-backup](https://github.com/spatie/laravel-backup). Also, the [spatie/db-dumper](https://github.com/spatie/db-dumper) from spatie is used.

Configuration
-------------

[](#configuration)

In the default configuration, Laravel `storage/app` folder uses for backup include a dump of `mysql` database connection. In this case, the Backup Git repository is located in the `storage/app/.git` directory.

To change the configuration publish the [config/git-backup.php](config/git-backup.php) file via command line:

```
php artisan vendor:publish --provider="NormanHuth\LaravelGitBackup\ServiceProvider"
```

Usage
-----

[](#usage)

### Run the backup manually

[](#run-the-backup-manually)

```
php artisan git:backup:run
```

### Scheduling

[](#scheduling)

For example use [Laravel Task Scheduling](https://laravel.com/docs/scheduling)

```
$schedule->command('git:backup:run')->dailyAt('4:00');
```

Notice
------

[](#notice)

Don't forget to configure global Git settings

```
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~196 days

Total

3

Last Release

797d ago

### Community

Maintainers

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

---

Top Contributors

[![Muetze42](https://avatars.githubusercontent.com/u/26193232?v=4)](https://github.com/Muetze42 "Muetze42 (9 commits)")[![maria42-bot](https://avatars.githubusercontent.com/u/146655225?v=4)](https://github.com/maria42-bot "maria42-bot (1 commits)")

---

Tags

databasebackuplaravel-backupgitspatie-db-dumpergit-backup

### Embed Badge

![Health badge](/badges/norman-huth-laravel-git-backup/health.svg)

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

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)

PHPackages © 2026

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