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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

  1. Navigate to the Craft CMS control panel and click on the Plugin Store tab.
  2. Search for Stratus and click on the plugin.
  3. Click on the Try button to install the plugin.

Composer

  1. Navigate to the project root directory and run the following command.

  2. Use the Craft CLI to install the plugin.

Generate an API key and webhook secret

  1. Navigate to the Account Settings page on Stratus and click on the Integrations tab.

  2. Under Craft CMS, click on the Generate Keys button. A modal where you can optionaly provide a webhook destination URL will appear.

  3. 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.

  1. 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.

  1. 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.
  2. Add a cron job or scheduled task to run craft stratus/default/import

Usage

Access entries or reviews globally

Access reviews based on their parent listing UUID

Access reviews associated with an entry by a custom field

Eager loading

Filter reviews

Display information about reviews

Display information about listings

GraphQL


All versions of stratus with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^5.0.0
php Version ^8.0.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package clickrain/stratus contains the following files

Loading the files please wait ....