PHPackages                             swipestripe/swipestripe-downloadable - 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. swipestripe/swipestripe-downloadable

ActiveSilverstripe-module

swipestripe/swipestripe-downloadable
====================================

Module for downloadable products in SwipeStripe.

2.1.x-dev(11y ago)15853BSD-3-ClausePHP

Since Jul 5Pushed 11y ago5 watchersCompare

[ Source](https://github.com/swipestripe/silverstripe-swipestripe-downloadable)[ Packagist](https://packagist.org/packages/swipestripe/swipestripe-downloadable)[ Docs](http://swipestripe.com)[ RSS](/packages/swipestripe-swipestripe-downloadable/feed)WikiDiscussions 2.1 Synced yesterday

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

SwipeStripe Downloadable Module
===============================

[](#swipestripe-downloadable-module)

Maintainer Contact
------------------

[](#maintainer-contact)

SwipeStripe
[Contact Us](http://swipestripe.com/support/contact-us)

Requirements
------------

[](#requirements)

- SilverStripe 3.1.\*
- SwipeStripe 2.1.\*

Documentation
-------------

[](#documentation)

Add files to products that can be downloaded after an order is processed and paid for.

The files are uploaded to assets/Uploads, when an order is placed files are created in the assets/Products/ directory with file extension .dwn so that they are not publicly accessible.

At the time when files are downloaded by the customer temporary files are created in assets/Downloads/ with obfuscated names, these files are cleared after the customer has reached their download limit or extended the download window for the files.

Installation Instructions
-------------------------

[](#installation-instructions)

1. Place this directory in the root of your SilverStripe installation, rename the folder 'swipestripe-downloadable'.
2. Visit yoursite.com/dev/build?flush=1 to rebuild the database.
3. Update the AccountPage\_order.ss template to include the downloads template e.g: &lt;% include OrderDownloads %&gt;

### Configuration

[](#configuration)

- The download limit is the number of times a customer can download a file, set to 3 by default.
    Downloadable\_Item::$downloadLimit
- The download window is the amount of time a customer has to download a file, set to '1 day' by default.
    Downloadable\_Item::$downloadWindow
- Various folders in /assets are used for file generation, these can be changed with statics:
    Downloadable\_Item::$downloadFolder
    Downloadable\_Item::$productFolder
    Downloadable\_Item::$uploadFolder

Usage Overview
--------------

[](#usage-overview)

1. Create a product in the CMS
2. Upload a file for that product
    - Save and publish the product after attaching the file in the admin
    - If the file is large, dump it in the assets/ folder and run /dev/tasks/FilesystemSyncTask and then select the file when editing the product.
3. When a customer purchases a product with a file attached they will have the option of downloading the file.

License
-------

[](#license)

```
Copyright (c) 2011 - 2013, Frank Mullenger
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

		* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
		* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the
			documentation and/or other materials provided with the distribution.
		* Neither the name of SilverStripe nor the names of its contributors may be used to endorse or promote products derived from this software
			without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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

Unknown

Total

1

Last Release

4330d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2db96f6ba18193dc0469b4c0d86c6755579295f9f0c5a608cd50f2d7a998f88e?d=identicon)[frankmullenger](/maintainers/frankmullenger)

---

Top Contributors

[![frankmullenger](https://avatars.githubusercontent.com/u/50590?v=4)](https://github.com/frankmullenger "frankmullenger (9 commits)")[![stevie-mayhew](https://avatars.githubusercontent.com/u/1953220?v=4)](https://github.com/stevie-mayhew "stevie-mayhew (1 commits)")

---

Tags

silverstripeshopecommercee-commerceswipestripeswipe stripedownloadable

### Embed Badge

![Health badge](/badges/swipestripe-swipestripe-downloadable/health.svg)

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

###  Alternatives

[swipestripe/swipestripe

Ecommerce module to create online shops using SilverStripe.

336.4k9](/packages/swipestripe-swipestripe)

PHPackages © 2026

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