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

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

ahrasel/laravel-backup
======================

Laravel backup package

v1.1.0(2y ago)08MITPHPPHP ^8.1

Since Jan 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ahrasel/laravel-backup)[ Packagist](https://packagist.org/packages/ahrasel/laravel-backup)[ RSS](/packages/ahrasel-laravel-backup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (3)Used By (0)

Database Backup Package For Laravel
===================================

[](#database-backup-package-for-laravel)

Introduction
------------

[](#introduction)

The Database Backup Laravel Package is a convenient solution for backing up MySQL and PostgreSQL databases in a Laravel application. It provides a simple endpoint `/database-backup` to trigger the backup process.

Installation
------------

[](#installation)

1. Install the package using Composer:

    ```
    composer require ahrasel/laravel-backup
    ```
2. Register the `BackupServiceProvider` in your `config/app.php`:

    ```
    'providers' => [
        // ...
         Ahrasel\LaravelBackup\BackupServiceProvider::class,
    ],
    ```

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

[](#configuration)

The package comes with default configurations. If you need to customize the configuration, publish the configuration file using the following command:

```
php artisan vendor:publish --provider=" Ahrasel\LaravelBackup\BackupServiceProvider" --tag="config"
```

This will create a `backup.php` file in your `config` directory.

Usage
-----

[](#usage)

Once installed and configured, you can trigger a database backup by hitting the `/database-backup` endpoint in your Laravel application.

Example:

```
http://localhost:8000/database-backup
```

You can also integrate this endpoint into your application as needed, for example, by creating a scheduled task to run the backup at specific intervals.

License
-------

[](#license)

This Laravel package is open-sourced software licensed under the [MIT license](LICENSE).

Issues and Contributions
------------------------

[](#issues-and-contributions)

If you encounter any issues or have suggestions for improvements, feel free to open an issue on the [GitHub repository](https://github.com/ahrasel/laravel-backup).

Happy coding!

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

826d ago

### Community

Maintainers

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

---

Top Contributors

[![ahrasel](https://avatars.githubusercontent.com/u/12865001?v=4)](https://github.com/ahrasel "ahrasel (6 commits)")

### Embed Badge

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

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

PHPackages © 2026

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