PHP code example of raffaelj / cockpit-whitelabel
1. Go to this page and download the library: Download raffaelj/cockpit-whitelabel 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-whitelabel example snippets
return [
'whitelabel' => [
'logo' => '#uploads:2019/11/08/5dc548b41c0cdlogo.png',
'logoWidth' => '8em', # optional, default: 30px
'logoHeight' => '3em', # optional, default: 30px
'hideName' => true, # hide app name
'colors' => [
'#ff0000',
'#00ff00',
'#0000ff',
],
];
];