Freemius License Installer
Add Freemius licensing from .env file.
by Andy Fragen · github.com/afragen/freemius-license-installer · website
★ 3stars
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/afragen/freemius-license-installer/archive/refs/heads/main.zipDeclares an update source (https://github.com/afragen/freemius-license-installer), so updates arrive through the plugin's own updater.
From the readme
Freemius License Installer
Author: Andy Fragen
License: MIT
Requires at least: 5.9
Requires PHP: 7.2
Tested up to: trunk
Stable version: main
Donate link:
Add Freemius licensing from .env file. Uses https://github.com/squarecandy/freemius-auto-activation plugin.
Description
Activating this plugin loads your license data from a .env file. You will need to create this .env file for the plugin to function. A PHP Fatal Exception error on activation will be thrown if the .env file is not found in the correct path.
Refer to .env.example for the format of the .env file.
The .env file will need to be created in the plugin root directory. This is a tradeoff as it is less secure but provides for an easier installation for you and your users.
The shortcode is unique to each Freemius integrated plugin or theme. Ask the plugin developer for this shortcode. It is usually evident in the Freemius integration code.
It will also automatically install and activate the Freemius Auto Activation plugin.
After running, the licenses with be loaded in the WordPress database. You may still be asked to opt in to telemetry data. Please agree to this ins