PHPackages                             onethirtyone/laravel-s3-migrate - 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. onethirtyone/laravel-s3-migrate

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

onethirtyone/laravel-s3-migrate
===============================

A Laravel package to migrate from local storage to Amazon S3

v2.2(4y ago)69.8k5[1 issues](https://github.com/robbfountain/laravel-s3-migrate/issues)[4 PRs](https://github.com/robbfountain/laravel-s3-migrate/pulls)MITPHPPHP ^7.2.5|^8.0

Since Jul 16Pushed 3y ago2 watchersCompare

[ Source](https://github.com/robbfountain/laravel-s3-migrate)[ Packagist](https://packagist.org/packages/onethirtyone/laravel-s3-migrate)[ RSS](/packages/onethirtyone-laravel-s3-migrate/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (5)Versions (10)Used By (0)

Laravel S3 File Migration
=========================

[](#laravel-s3-file-migration)

[![Build Status](https://camo.githubusercontent.com/4d8cd9f67cfc27bea4057a0e5139a41f2bc7d0d7d1388cb2650fe71f477a89fe/68747470733a2f2f7472617669732d63692e6f72672f726f6262666f756e7461696e2f6c61726176656c2d73332d6d6967726174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/robbfountain/laravel-s3-migrate) [![StyleCI](https://camo.githubusercontent.com/c3b42db0094bbf334f45421ed5c3f76aa94a196b46a98535e95d5c426d8cea88/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3235353433353630312f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/255435601)

Migrate files in local storage to an AWS S3 Bucket

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

[](#installation)

Install with composer

```
composer require onethirtyone/laravel-s3-migrate
```

Publish the config

```
php artisan vendor:publish --tag=s3migrate-config
```

Usage
-----

[](#usage)

in `config/s3migrate.php` set your configuration options

Run the artisan command

```
php artisan onethirtyone:s3-migrate {--force : Migrates without confirmation prompt}
```

This will migrate all files in your selected local disks to S3.

When the migration is complete a `OneThirtyOne\S3Migration\Events\S3MigrationCompleted` event will be fired. The event will receive a collection of `Illuminate\Support\File` files. These are the files that have been migrated.

You should listen for this event to perform actions locally such as updating a database table with the new S3 image path or delete the local storage files.

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

5

Last Release

1812d ago

Major Versions

1.0 → 2.02021-05-26

PHP version history (2 changes)1.0PHP ^7.2.5

2.0PHP ^7.2.5|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e4316bb9bae35cc0d9535ad772232aa07ebfc0c9d14aa6120c241cc1dad9cc8?d=identicon)[131Studios](/maintainers/131Studios)

---

Top Contributors

[![robbfountain](https://avatars.githubusercontent.com/u/3590383?v=4)](https://github.com/robbfountain "robbfountain (39 commits)")

---

Tags

laravels3

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/onethirtyone-laravel-s3-migrate/health.svg)

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

###  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)[mwguerra/filemanager

A full-featured file manager package for Laravel and Filament v5 with dual operating modes, drag-and-drop uploads, S3/MinIO support, and comprehensive security features.

718.5k1](/packages/mwguerra-filemanager)

PHPackages © 2026

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