PHP code example of raffaelj / cockpit-rljutils
1. Go to this page and download the library: Download raffaelj/cockpit-rljutils library . Choose the download type require .
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
raffaelj / cockpit-rljutils example snippets
return [
"app.name" => "rljUtils Test",
"languages" => [
"default" => "English",
"de" => "Deutsch",
],
"groups" => [
"manager" => [
"cockpit" => [
"backend" => true,
"accounts" => true,
"assets" => true,
],
],
"author" => [
"cockpit" => [
"backend" => true,
"assets" => true,
],
],
"guest" => [
"cockpit" => [
"backend" => true,
],
],
],
"rljutils" => [
'hardening' => [
'allowed_uploads' => false,
'max_upload_size' => false,
'collections_find' => false,
'collections_tree' => false,
'collections_collections' => false,
'accounts_find' => false,
'assetsmanager' => false,
'disable_getLinkedOverview' => false,
],
'cosmetics' => [
'widgets_timer_disabled' => false,
'entry_default_group_main' => false,
'entry_language_buttons' => false,
'wysiwyg_entity_encoding_raw' => false,
'dark_mode_switch' => false,
'display_sortable_entries' => false,
'autofocus_login' => false,
],
'helpers' => [
// entry lock is annoying while developing and testing with multiple browsers
'locked_entries_disabled' => true,
'log_exceptions' => false,
],
],
];