Download the PHP package clickrain/stratus without Composer
On this page you can find all versions of the php package clickrain/stratus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package stratus
Stratus Craft CMS Plugin
A plugin for syncing and displaying Stratus reviews and listing data on your Craft website
Prerequisites
Stratus account
You will need an account on Stratus to use this plugin. Please visit the Stratus help center to get started.
Installation
Install the plugin on the Craft project
Craft Plugin Store
- Navigate to the Craft CMS control panel and click on the Plugin Store tab.
- Search for Stratus and click on the plugin.
- Click on the Try button to install the plugin.
Composer
-
Navigate to the project root directory and run the following command.
- Use the Craft CLI to install the plugin.
Generate an API key and webhook secret
-
Navigate to the Account Settings page on Stratus and click on the Integrations tab.
-
Under Craft CMS, click on the Generate Keys button. A modal where you can optionaly provide a webhook destination URL will appear.
- Click on the Generate button. The API key and webhook secret (if you provided a webhook destination URL) will be generated and displayed. Make sure to copy these values to a safe place before closing the modal. You will not be able to retrieve the API key after closing the modal.
Configure the plugin
You can configure the plugin in one of two ways. The first is to use the Craft control panel. The second is to use environment variables. The latter is recommended for production environments.
- Add the following environment variables to the
.env
file in the project root directory.
If you did not provide a webhook URL when generating the API key, you will need to configure the Craft project to run the job queue automatically. You may want to disable runQueueAutomatically
by setting it to false
in config/general.php
.
- Configure the Craft project to run the job queue automatically. You may want to disable
runQueueAutomatically
by setting it tofalse
inconfig/general.php
. - Add a cron job or scheduled task to run
craft stratus/default/import