PHPackages                             cubesystems/laravel-mysql-s3-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. cubesystems/laravel-mysql-s3-backup

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

cubesystems/laravel-mysql-s3-backup
===================================

Backup the MySQL database of your Laravel app to Amazon S3

1.4(8mo ago)0315↓100%PHPPHP ^8.0|^8.1|^8.2|^8.2

Since Dec 11Pushed 8mo agoCompare

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

READMEChangelog (2)Dependencies (3)Versions (6)Used By (0)

Laravel MySQL to S3 Backup
==========================

[](#laravel-mysql-to-s3-backup)

This is a very simple database backup script for Laravel. It takes a `mysqldump` and saves it to [Amazon S3](http://aws.amazon.com/s3/) or compatible object storage.

This package is very opinionated. Other backup scripts can support other database types or other places besides S3 to store your backup. This does not.

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

[](#installation)

1. Install package

    ```
    composer require cubesystems/laravel-mysql-s3-backup

    ```
2. Publish and edit the config

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

    Edit `config/mysql-s3-backup.php`

Usage
-----

[](#usage)

```
$ php artisan db:backup
```

That's it. No arguments or optional parameters.

### Credit

[](#credit)

This package was originally forked from [fitztrev](https://github.com/fitztrev/laravel-mysql-s3-backup) before a complete rewrite.

License
-------

[](#license)

Laravel MySQL to S3 Backup is open-sourced software licensed under the [MIT license](https://github.com/ayles-software/laravel-mysql-s3-backup/blob/master/LICENSE.md).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance60

Regular maintenance activity

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 72% 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 ~247 days

Total

5

Last Release

259d ago

PHP version history (3 changes)1.0PHP ^7.1|^8.0

1.2PHP ^8.0|^8.1|^8.2

1.3PHP ^8.0|^8.1|^8.2|^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/686243?v=4)[Miks Miķelsons](/maintainers/miks)[@miks](https://github.com/miks)

---

Top Contributors

[![parkourben99](https://avatars.githubusercontent.com/u/7295774?v=4)](https://github.com/parkourben99 "parkourben99 (36 commits)")[![fitztrev](https://avatars.githubusercontent.com/u/271432?v=4)](https://github.com/fitztrev "fitztrev (7 commits)")[![miks](https://avatars.githubusercontent.com/u/686243?v=4)](https://github.com/miks "miks (6 commits)")[![woodymendoza](https://avatars.githubusercontent.com/u/879473?v=4)](https://github.com/woodymendoza "woodymendoza (1 commits)")

### Embed Badge

![Health badge](/badges/cubesystems-laravel-mysql-s3-backup/health.svg)

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

###  Alternatives

[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[spatie/laravel-backup-server

Backup multiple applications

17016.7k1](/packages/spatie-laravel-backup-server)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)[dgtlss/capsule

A Laravel package for backing up databases and files to external sources with notifications

194.3k](/packages/dgtlss-capsule)

PHPackages © 2026

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