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 gated files only after they drop their email address

2.0.0(3w ago)02proprietaryPHPPHP &gt;=8.2

Since Jul 20Pushed 4y 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 1w ago

READMEChangelogDependencies (2)Versions (4)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

33

—

LowBetter than 72% of packages

Maintenance53

Moderate activity, may be stable

Popularity2

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

Every ~1464 days

Total

2

Last Release

23d ago

Major Versions

1.0.0 → 2.0.02026-07-24

### Community

Maintainers

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

---

Tags

cmsCraftcraftcmscraft-pluginwhitepapersgated downloadsgated filesprotected downloadsprotected files

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

[verbb/formie

The most user-friendly forms plugin for Craft.

101400.6k78](/packages/verbb-formie)[verbb/hyper

A user-friendly links field for Craft.

24153.5k14](/packages/verbb-hyper)[verbb/vizy

A flexible visual editor field for Craft.

4251.5k1](/packages/verbb-vizy)[verbb/events

A full-featured plugin for event management and ticketing.

2312.1k](/packages/verbb-events)[verbb/icon-picker

A slick field to pick icons from. Supports SVGs, Sprites, Webfonts, Font Awesome and more.

16172.7k7](/packages/verbb-icon-picker)[acclaro/translations

Easily launch and manage multilingual Craft websites without having to copy/paste content or manually track updates.

1229.6k](/packages/acclaro-translations)

PHPackages © 2026

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