Skip to main content

Installing & Updating

Requirements

  • Freeform 5.19.1 and later in the 5.19 series require Craft 5.12 or later in the Craft 5 series. Freeform 5.19.0 requires Craft 5.12.x.
  • Freeform 5.18.x works with Craft 5.9 or later.
  • Craft 4 is supported up to and including Freeform 5.18.x, which requires Craft 4.17 or later.
Freeform5.05.15.25.35.45.55.65.75.85.95.105.115.125.135.145.155.165.175.185.19
Craft 5PHP 8.2+—5.0+5.9+5.12+
Craft 4PHP 8.0.2+4.0+4.17+Ends at 5.18.x—

Craft 4 has reached end of life. Composer security advisories may block installs or updates.

Freeform needs at least 256 MB of PHP memory and the BCMath and GD extensions. Check the database and browser requirements for Craft 5 or Craft 4.

Installation

Use Composer to add Freeform to your Craft project.

1

Open your Craft project

cd /path/to/project
2

Get Freeform

composer require solspace/craft-freeform -w
Get a specific version

Add the version to the package name. Check compatibility before choosing a release.

composer require solspace/craft-freeform:5.18.8 -w
3

Install Freeform

On Craft 5.7+ or 4.15+, pass the edition you want to install (pro, lite, or express).

./craft plugin/install freeform pro
Install on older Craft versions or from Settings

On earlier Craft versions, run the command without an edition to install Express. You can change editions afterward.

./craft plugin/install freeform

To finish installing in the control panel after adding the package, go to Settings → Plugins, open the gear menu next to Freeform, and select Install.

You can buy a Lite or Pro license when you’re ready to launch.

Updating

Upgrade notes

Use Craft’s update command to update Freeform.

1

Back up your database

Take a full backup before updating. If a migration fails, restore the backup before retrying. Downgrading after a failed migration can corrupt the database.

2

Open your Craft project

cd /path/to/project
3

Check for Updates

./craft update
4

Update Freeform

./craft update freeform
Update to a specific version

Add the compatible version you want to install after the plugin handle.

./craft update freeform:5.18.8

Composer version constraints

The solspace/craft-freeform constraint in composer.json controls which Freeform releases Composer can install.

  • 5.18.8 pins Freeform to that exact release.
  • ~5.18.0 allows patches in the 5.18 series.
  • ^5.18.0 allows Freeform 5 releases from 5.18.0 onward.

Composer also checks your Craft, PHP, and dependency versions. Composer’s version constraint guide

Test an unreleased version

Set the Freeform constraint in composer.json to the branch you want to test.

  • v5.x-dev for the v5 branch.
  • dev-feat/SFT-123 as 5.3.5-beta.1 for a feature branch aliased to a version that fits your project.

Fetch the branch with Composer.

composer update solspace/craft-freeform --with-dependencies

Changing Editions

Already own Lite? Upgrade to Pro for the $50 price difference.

If allowAdminChanges is set to false, switch editions in your development environment and deploy the updated Project Config.

1

Open your Craft project

cd /path/to/project
2

Choose Edition

On Craft 5.7+ or 4.15+, pass the edition you want to switch to (pro, lite, or express).

./craft plugin/install freeform pro

Disable Freeform

You can temporarily disable Freeform from the command line or control panel to troubleshoot issues without removing your data.

1

Open your Craft Project

cd /path/to/project
2

Disable Freeform

./craft plugin/disable freeform

Uninstall Freeform

Uninstalling permanently deletes your Freeform data. Back up your database first if you need to keep it.

1

Open your Craft Project

cd /path/to/project
2

Uninstall Freeform

./craft plugin/uninstall freeform
3

Remove the package

Run this after uninstalling Freeform from Craft.

composer remove solspace/craft-freeform

Purchasing

  • Try Lite or Pro. On a development site, find Freeform in Craft’s Plugin Store and select Try for the edition you want.
  • Buy a license. In Craft’s Plugin Store, open the cart and add Freeform from Active Trials. Checkout activates the license on your site. If you buy separately from the online Plugin Store, enter the license key under Settings → Plugins.
  • Renew for updates and support. Your purchase includes one year of updates and support. Renew or enable auto-renew under Licenses → Plugins in Craft Console. You can keep using your licensed version if you let renewals lapse.

If a license isn’t working, see licensing issues.

Troubleshooting

Licensing issues

Craft manages Freeform license activation, validation, and renewals. For help resolving a licensing issue, see Craft’s plugin licensing guide.

Craft 4: Composer security advisories

Composer can block a Freeform install or update if a dependency required by Craft 4, such as Twig, has a security advisory.

For live sites, follow Craft’s upgrade guide and test on a local copy first. Craft 4 has reached end of life.

Craft 4 workaround (local testing only)

Use only on an isolated local copy. These commands can install dependencies with known vulnerabilities.

Run composer --version in your project directory to choose the command for your version.

Composer 2.10+

To update an existing installation, run:

COMPOSER_POLICY_ADVISORIES_BLOCK=0 composer update -W

To install Freeform on the local copy, run:

COMPOSER_POLICY_ADVISORIES_BLOCK=0 composer require solspace/craft-freeform -W

Composer 2.9.2 through 2.9.x

composer update -W --no-security-blocking

The environment variable uses Bash or Zsh syntax and applies only to that command. The -W flag allows Composer to update root dependencies too. After updating, run composer audit to review remaining advisories and follow the migration steps.