Skip to content

Configure your plugin

This page displays the plugins config options.

php
<?php
return [
  'options' => [
    'soerenengels.steady' => [

      // Required: Steady REST API token
      'token' => null, // string|null

      // Indicate use of Steady widget JavaScript 
      'widget' => false, // bool

      // Optional: OAuth settings
      'oauth' => [ // array or bool, default: false
        'client' => [
          'id' => '...',
          'secret' => '...',
        ],
        'redirect-uri' => site()->url() . '/oauth/steady/callback',
        'after-login' => site()->url(),
        'after-logout' => site()->url()
      ]
    ]
  ]
];

Permissions

You can customize the tabs of the Steady area in your panel for each user blueprint by setting the corresponding persmissions.

Example

yaml
title: Editor
permissions:
  "soerenengels.steady":
    widgets: false
    users: false