generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 0
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.
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.
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.