PHPackages                             alexgh12/backup-in-git - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. alexgh12/backup-in-git

AbandonedLibrary[DevOps &amp; Deployment](/categories/devops)

alexgh12/backup-in-git
======================

Comando para backup de base de datos en Laravel y sube cambios a un repositorio git

v1.1.3(2y ago)079MITPHPPHP ^7.4|^8.0

Since Jul 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/AlexGh12/backup-in-git)[ Packagist](https://packagist.org/packages/alexgh12/backup-in-git)[ RSS](/packages/alexgh12-backup-in-git/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelogDependencies (1)Versions (11)Used By (0)

[![Logo Alex Gh](art/logo.svg)](art/logo.svg)

 [ ![Total Downloads](https://camo.githubusercontent.com/ef07a599301d3eebacbb2c0a8b3792a179f3f6072201eababe96d7abe7a41478/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c6578676831322f6261636b75702d696e2d676974) ](https://packagist.org/packages/alexgh12/backup-in-git) [ ![Latest Stable Version](https://camo.githubusercontent.com/1a13d82fcadbd3034d7255f66ea9dec4d27388ff458b0763c9c1adeed00f52e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c6578676831322f6261636b75702d696e2d676974) ](https://packagist.org/packages/alexgh12/backup-in-git) [ ![License](https://camo.githubusercontent.com/bd4cd6d77b5a3bfd64d01a28ecc5ad16f479fecaf16cd111c64bc390120fbc42/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616c6578676831322f6261636b75702d696e2d676974) ](https://packagist.org/packages/alexgh12/backup-in-git)

Introducción
============

[](#introducción)

Respalda tus bases de datos productivas en un repositorio de git. Ejecuta un comenado de laravel para realizar el respado, el mismo comando hace un commit y sube cambios al repositorio, esta pensado para que lo dejes programado y se hagan respaldos automaticamente.

Instalación
-----------

[](#instalación)

Ejecutar en la consola:

```
composer require AlexGh12/backup-in-git
```

Despues agregar en `config/app.php`

```
'providers' => ServiceProvider::defaultProviders()->merge([
	/* ... */
	AlexGh12\BackupInGit\BackupInGitServiceProvider::class,
	/* ... */
])->toArray(),
```

Uso
---

[](#uso)

La primera ves que se ocupe, se tiene que ejecutar en la terminal para configurar el repositorio.

```
php artisan BackupInGit:db
```

Preguntara, si quieres crear la carpta para alojar el nuevo repositorio. y despues solicita el repositorio

Una vez configurado podemos dejar el comando programado en: `app/Console/Kernel.php`

```
protected function schedule(Schedule $schedule): void
{
	// Recomendado si tienes telescope
	$schedule->command('telescope:prune --hours=48')->daily();

	// Respando de Base de datos
	$schedule->command('BackupInGit:db')->daily();
}
```

Licencia
--------

[](#licencia)

AlexGh12 es de codigo abierto software con licencia [MIT](LICENSE.md).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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 ~2 days

Total

11

Last Release

1023d ago

Major Versions

1.x-dev → 2.x-dev2023-07-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ebb82967b050281231a843ce4ef2f5457d5c5587b0e4ec865dce54762632f13?d=identicon)[alexgh12y](/maintainers/alexgh12y)

---

Top Contributors

[![AlexGh12](https://avatars.githubusercontent.com/u/13667952?v=4)](https://github.com/AlexGh12 "AlexGh12 (22 commits)")

---

Tags

backup-databasein-gitin-laravel

### Embed Badge

![Health badge](/badges/alexgh12-backup-in-git/health.svg)

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

###  Alternatives

[slimkit/plus

The Plus(ThinkSNS+) is a powerful, easy-to-develop social system built with Laravel.

2.2k2.4k](/packages/slimkit-plus)[laravel-fans/docker

Full Laravel production environment for Docker

4311.3k](/packages/laravel-fans-docker)[downtoworld/laravel-devops

Laravel Cloudflare-Tunnels Ready Production Docker-Compose

161.1k](/packages/downtoworld-laravel-devops)

PHPackages © 2026

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