GravityView is a commercial plugin available from https://gravityview.co. The plugin is hosted here on a public GitHub repository to better facilitate community contributions from developers and users. If you have a suggestion, a bug report, or a patch for an issue, feel free to submit it here.
If you are using the plugin on a live site, please purchase a valid license from the website. We cannot provide support to anyone that does not hold a valid license key.
To install the plugin, clone this repo to your WordPress plugins folder and activate it. Alternatively, you can download the latest release to your WordPress plugins folder and then activate it.
If you wish to make changes to the plugin, you need to install developer dependencies. First, a couple of prerequisites:
- Make sure that you have the full plugin source code by either cloning this repo or downloading the source code (not the versioned release) from the Releases section
- Install Composer
- Install Node.js
Next, install dependencies:
composer installto install Composer dependencies
npm installto install Node.js dependencies
To compile/minify UI assets, use the following commands:
grunt postcssto compile and minify CSS files
grunt imageminto minify images
The plugin uses PHPUnit as part of the development process. We offer preconfigured Docker containers and a custom Bash script to facilitate running tests against multiple PHP and WordPress versions in a predictable environment. Visit our Tooling repo for information regarding how to configure and run tests.
The plugin uses Codeception for acceptance testing. To configure and run tests:
- Install and configure Docker
- Configure environment variables by running:
export GRAVITYFORMS_KEY=[YOUR GRAVITY FORMS KEY HERE]
export GRAVITYVIEW_KEY=[YOUR GRAVITYVIEW KEY HERE]
cdto the GravityView plugin directory and run
docker-compose -f tests/acceptance/docker/docker-compose.yml run codeception
See Codeception commands reference for a full list of available flags.
We are thankful to the following services and open source software that help enhance our plugin: