Skip to content

Settings

Paride Azzari edited this page Aug 24, 2024 · 1 revision

Through the Setting endpoint we can retrieve the configuration and the status of the application.

Status

The status of the application can be retrieved with

use KeapGeek\Keap\Facades\Keap;

Keap::settings()->status();

This command retuns a simple boolean. If true the application is enabled, otherwise is disabled.

Config

The configuration of the application can be retrieved with

use KeapGeek\Keap\Facades\Keap;

Keap::settings()->config();

This command retuns the following array

[
    "affiliate" => array,
    "appointment" => array,
    "application" => array,
    "contact" => array,
    "ecommerce" => array,
    "email" => array,
    "forms" => array,
    "fulfillment" => array,
    "invoice" => array,
    "note" => array,
    "opportunity" => array,
    "task" => array,
    "template" => array,
]

Inside each item there are the configuration parameters for each section of Keap.

Clone this wiki locally