PHPackages                             swaraatech/spacesmanager - 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. swaraatech/spacesmanager

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

swaraatech/spacesmanager
========================

Package to move the files from block storage to spaces

v1.0.0(8y ago)019PHP

Since Feb 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/swaraasolutions/swaraatech)[ Packagist](https://packagist.org/packages/swaraatech/spacesmanager)[ RSS](/packages/swaraatech-spacesmanager/feed)WikiDiscussions master Synced 2w ago

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

Digital Ocean Spaces Manager
============================

[](#digital-ocean-spaces-manager)

Spaces manager for moving the files from any specified location and move to spaces.

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

[](#installation)

### Using Composer

[](#using-composer)

```
composer require swaraatech/spacesmanager
```

Or manually by modifying `composer.json` file:

```
{
    "require": {
        "swaraatech/spacesmanager": "v1.0.0"
    }
}
```

And run `composer install`

Then add Service provider to `config/app.php`

```
    'providers' => [
        // ...
        SwaraaTech\SpacesServiceProvider::class
    ]
```

**Notice**: This package will add `league/flysystem-aws-s3-v3` package and add spaces support dynamically.

Quick start
-----------

[](#quick-start)

Modify the following settings in .env

```
SM_ENABLED=true
SM_CHECK_PATH=E:\wamp64\www\digiapicentos\public\images\
SM_HTTP_PATH="images"
SM_CHECK_FREQUENCY=daily
SM_CHECK_TIME=22:00
SM_TABLE_NAME="movedspaces"
SM_CHECK_SIZE=0
SM_CHECK_DAYS=0
SM_SPACES_KEY="DIGITAL OCEAN KEY"
SM_SPACES_SECRET="DIGITAL_OCEAN secret"
SM_SPACES_ENDPOINT="https://nyc3.digitaloceanspaces.com/"
SM_SPACES_REGION="nyc3"
SM_SPACES_BUCKET=bucketname
SM_MANAGE_404=true
```

**Explanation**

`SM_ENABLED` - Enable or disable the functionality

`SM_CHECK_PATH` - Set the path of the folder which you would like to move to spaces

`SM_HTTP_PATH` - If you are serving this images over http enter the http path with out domain name and forward and trailing slashes

`SM_CHECK_FREQUENCY` - Option available are daily, weekly, monthly,yearly

`SM_CHECK_TIME` - This option is taken into consideration only when you are using the daily frequency

`SM_TABLE_NAME` - Name of the table for managing the 404 errors after moving the images

`SM_CHECK_SIZE` - Specify the files above the size to be moved to spaces

`SM_CHECK_DAYS` - Specify the days before the current day to be moved e.g. 7 days

`SM_SPACES_KEY` - Spaces Key from Digital Ocean

`SM_SPACES_SECRET` - Spaces Secret from Digital Ocean. This is visible only once

`SM_SPACES_ENDPOINT` - Not required to change unless you are using any other region

`SM_SPACES_REGION` - Not required to change unless you are using nyc3

`SM_SPACES_BUCKET` - Name of the bucket where the images needs to be stored

`SM_MANAGE_404` - If you are not willing to manage the 404 errors using the plugin turn this option to false

### Developed with love by Swaraa Tech Solutions LLP Team at Digital Ocean Ahmedabad Hackathon.

[](#developed-with-love-by-swaraa-tech-solutions-llp-team-at-digital-ocean-ahmedabad-hackathon)

Thanks to the wonderful support from DO Team.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Unknown

Total

1

Last Release

3055d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/swaraatech-spacesmanager/health.svg)

```
[![Health](https://phpackages.com/badges/swaraatech-spacesmanager/health.svg)](https://phpackages.com/packages/swaraatech-spacesmanager)
```

###  Alternatives

[craftcms/aws-s3

Amazon S3 integration for Craft CMS

631.5M28](/packages/craftcms-aws-s3)[silverstripe/s3

Adds SilverStripe support for using the S3 adapter for Flysystem

19329.2k1](/packages/silverstripe-s3)[servd/craft-asset-storage

Servd Asset Storage and Helpers integration for Craft CMS

1182.9k9](/packages/servd-craft-asset-storage)[blackbit_digital_commerce/pimcore-backup

Backup and restore Pimcore projects

1294.6k](/packages/blackbit-digital-commerce-pimcore-backup)

PHPackages © 2026

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