PHPackages                             doublesecretagency/craft-digitaldownload - 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. doublesecretagency/craft-digitaldownload

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

doublesecretagency/craft-digitaldownload
========================================

Provide secure digital download links to your files.

3.1.1(2y ago)613.9k4[5 issues](https://github.com/doublesecretagency/craft-digitaldownload/issues)proprietaryPHP

Since Aug 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/doublesecretagency/craft-digitaldownload)[ Packagist](https://packagist.org/packages/doublesecretagency/craft-digitaldownload)[ RSS](/packages/doublesecretagency-craft-digitaldownload/feed)WikiDiscussions v3-dev Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (23)Used By (0)

[![Plugin icon](https://camo.githubusercontent.com/72558054819f967ebd244fee28d22462d864d4e8699120cb3199f04a30e985f2/68747470733a2f2f706c7567696e732e646f75626c657365637265746167656e63792e636f6d2f6469676974616c2d646f776e6c6f61642f696d616765732f69636f6e2e737667)](https://camo.githubusercontent.com/72558054819f967ebd244fee28d22462d864d4e8699120cb3199f04a30e985f2/68747470733a2f2f706c7567696e732e646f75626c657365637265746167656e63792e636f6d2f6469676974616c2d646f776e6c6f61642f696d616765732f69636f6e2e737667)

Digital Download plugin for Craft CMS
=====================================

[](#digital-download-plugin-for-craft-cms)

**Provide secure digital download links to your files.**

---

**For complete documentation, see [plugins.doublesecretagency.com/digital-download](https://plugins.doublesecretagency.com/digital-download/)**

Display a Link
--------------

[](#display-a-link)

In its most basic form, you can generate a file download link with just a single line of code...

```
{{ craft.digitalDownload.link(asset) }}
```

See the full docs on how to [display a link...](https://plugins.doublesecretagency.com/digital-download/displaying-a-link/)

Create a Token
--------------

[](#create-a-token)

A token can be generated to denote a *specific* file download with *specific* expiration parameters. It's common practice to create a token, then store it for later use.

```
{% set token = craft.digitalDownload.createToken(asset, options) %}
```

Learn which options are available when [creating a token...](https://plugins.doublesecretagency.com/digital-download/creating-a-token/)

Store a Token
-------------

[](#store-a-token)

Here's a trick for automatically generating tokens. It uses the magic of a [Preparse field](https://plugins.craftcms.com/preparse-field) to store a persistent token in your Entry.

See how to [use this with your entries...](https://plugins.doublesecretagency.com/digital-download/storing-a-token/)

Short Download Links
--------------------

[](#short-download-links)

The file download link will mask the actual file location. You have an opportunity to [adjust the download link URL...](https://plugins.doublesecretagency.com/digital-download/short-download-links/)

---

Further Reading
---------------

[](#further-reading)

If you haven't already, flip through the [complete plugin documentation](https://plugins.doublesecretagency.com/digital-download/).

And if you have any remaining questions, feel free to [reach out to us](https://www.doublesecretagency.com/contact) (via Discord is preferred).

**On behalf of Double Secret Agency, thanks for checking out our plugin!** 🍺

 [![Logo for Double Secret Agency](https://camo.githubusercontent.com/e834ce35abc7cbeca17d458aba00fae271f59507ddf73fa2dfff1bee091b22ea/68747470733a2f2f7777772e646f75626c657365637265746167656e63792e636f6d2f7265736f75726365732f696d616765732f6473612d7472616e73706172656e742e706e67)](https://camo.githubusercontent.com/e834ce35abc7cbeca17d458aba00fae271f59507ddf73fa2dfff1bee091b22ea/68747470733a2f2f7777772e646f75626c657365637265746167656e63792e636f6d2f7265736f75726365732f696d616765732f6473612d7472616e73706172656e742e706e67)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance3

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

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

Recently: every ~0 days

Total

21

Last Release

767d ago

Major Versions

2.2.1 → 3.0.0-beta.12024-02-22

v2.x-dev → 3.1.12024-04-11

### Community

Maintainers

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

---

Top Contributors

[![lindseydiloreto](https://avatars.githubusercontent.com/u/5309692?v=4)](https://github.com/lindseydiloreto "lindseydiloreto (83 commits)")

---

Tags

filecmsdownloadCraftcraftcmscraft-plugindigital-download

### Embed Badge

![Health badge](/badges/doublesecretagency-craft-digitaldownload/health.svg)

```
[![Health](https://phpackages.com/badges/doublesecretagency-craft-digitaldownload/health.svg)](https://phpackages.com/packages/doublesecretagency-craft-digitaldownload)
```

###  Alternatives

[superbig/craft3-beam

Generate CSVs and XLS files in your templates

1933.9k](/packages/superbig-craft3-beam)[servd/craft-remote-assets

Move CP assets to an external filesystem such as S3

1215.8k](/packages/servd-craft-remote-assets)[weareferal/remote-backup

Backup your database and assets to a remote location

115.5k](/packages/weareferal-remote-backup)[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.6k](/packages/venveo-craft-compress)[markdrzy/importable

Add CSV data import functionality to the native Table fieldtype.

114.6k2](/packages/markdrzy-importable)

PHPackages © 2026

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