PHPackages                             timvermaercke/craft-whitepapers - 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. timvermaercke/craft-whitepapers

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

timvermaercke/craft-whitepapers
===============================

Let users download whitepapers (or any other secure file) after they drop their email address

1.0.0(3y ago)02MITPHP

Since Jul 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/timvermaercke/craft-whitepapers)[ Packagist](https://packagist.org/packages/timvermaercke/craft-whitepapers)[ RSS](/packages/timvermaercke-craft-whitepapers/feed)WikiDiscussions main Synced 1mo ago

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

Whitepaper plugin for Craft CMS 4.x
===================================

[](#whitepaper-plugin-for-craft-cms-4x)

Let your users download whitepapers (or other files), but not before leaving their email address.

The plugin also provides a Field Type, to link a whitepaper to an entry and it provides CSV exports per whitepaper as well!

Screenshots
-----------

[](#screenshots)

### Frontend (example implementation)

[](#frontend-example-implementation)

[![Code](resources/img/code.png)](resources/img/code.png)[![Example implementation](resources/img/example-implementation.png)](resources/img/example-implementation.png)

*The above is an example of an implementation of this plugin*

### Admin

[](#admin)

#### Overview

[](#overview)

[![Admin Overview](resources/img/admin-index.png)](resources/img/admin-index.png)

#### Detail

[](#detail)

[![Admin Detail](resources/img/admin-detail.png)](resources/img/admin-detail.png)

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

[](#requirements)

This plugin requires Craft CMS 4.0.0 or later

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require timvermaercke/craft-whitepaper

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Test.

Brought to you by [Tim Vermaercke](https://timvermaercke.be)

How to use
----------

[](#how-to-use)

Create a Whitepaper object in `/admin/whitepapers` first.

Then you can add the following snippet to your templates:

```

    {{ csrfInput() }}
    {{ hiddenInput('whitepaperId', 1) }}

    Email

```

You can also create a field in Craft and use the custom field "Whitepaper", eg. in a Globals Set:

Create a field:

[![Settings - create a field](resources/img/settings-field.png)](resources/img/settings-field.png)

Create a globals set

[![Settings - create a globals set](resources/img/settings-globals.png)](resources/img/settings-globals.png)

Fill out the globals set:

[![Globals](resources/img/globals.png)](resources/img/globals.png)

Use the value in your templates:

```
{# will output the selected whitepaper id #}
{{ settings.fieldWhitepaper }}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

1391d ago

### Community

Maintainers

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

---

Tags

cmsCraftcraftcmscraft-pluginwhitepapers

### Embed Badge

![Health badge](/badges/timvermaercke-craft-whitepapers/health.svg)

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

###  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

125.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)
