Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* * This file is part of Cachet. * * (c) Alt Three Services Limited * * For t..

Decoded Output download

<?php

/*
 * This file is part of Cachet.
 *
 * (c) Alt Three Services Limited
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

return [

    // Setup form fields
    'setup' => [
        'email'            => '',
        'username'         => '',
        'password'         => '',
        'site_name'        => '',
        'site_domain'      => '',
        'site_timezone'    => '',
        'site_locale'      => '',
        'enable_google2fa' => 'Google2',
        'cache_driver'     => '',
        'session_driver'   => '',
    ],

    // Login form fields
    'login' => [
        'login'         => '',
        'email'         => '',
        'password'      => '',
        '2fauth'        => 'Authentication Code',
        'invalid'       => '',
        'invalid-token' => '',
        'cookies'       => '',
        'rate-limit'    => 'Rate limit exceeded.',
    ],

    // Incidents form fields
    'incidents' => [
        'name'               => '',
        'status'             => '',
        'component'          => '',
        'message'            => 'Message',
        'message-help'       => 'You may also use Markdown.',
        'scheduled_at'       => 'When to schedule the maintenance for?',
        'incident_time'      => 'When did this incident occur?',
        'notify_subscribers' => 'Notify subscribers?',
        'visibility'         => 'Incident Visibility',
        'public'             => 'Viewable by public',
        'logged_in_only'     => 'Only visible to logged in users',
        'templates'          => [
            'name'     => '',
            'template' => 'Template',
            'twig'     => 'Incident Templates can make use of the <a href="https://twig.symfony.com" target="_blank">Twig</a> templating language.',
        ],
    ],

    // Components form fields
    'components' => [
        'name'        => '',
        'status'      => '',
        'group'       => 'Group',
        'description' => 'Description',
        'link'        => 'Link',
        'tags'        => 'Tags',
        'tags-help'   => 'Comma separated.',
        'enabled'     => 'Component enabled?',

        'groups' => [
            'name'               => '',
            'collapsing'         => 'Choose visibility of the group',
            'visible'            => 'Always expanded',
            'collapsed'          => 'Collapse the group by default',
            'collapsed_incident' => 'Collapse the group, but expand if there are issues',
        ],
    ],

    // Metric form fields
    'metrics' => [
        'name'             => '',
        'suffix'           => 'Suffix',
        'description'      => 'Description',
        'description-help' => 'You may also use Markdown.',
        'display-chart'    => 'Display chart on status page?',
        'default-value'    => 'Default value',
        'calc_type'        => 'Calculation of metrics',
        'type_sum'         => '',
        'type_avg'         => '',
        'places'           => 'Decimal places',
        'default_view'     => '',
        'threshold'        => 'How many minutes of threshold between metric points?',

        'points' => [
            'value' => '',
        ],
    ],

    // Settings
    'settings' => [
        /// Application setup
        'app-setup' => [
            'site-name'              => '',
            'site-url'               => 'URL',
            'display-graphs'         => 'Display graphs on status page?',
            'about-this-page'        => '',
            'days-of-incidents'      => '',
            'banner'                 => 'Banner Image',
            'banner-help'            => '930px',
            'subscribers'            => 'Allow people to signup to email notifications?',
            'automatic_localization' => 'Automatically localise your status page to your visitor\'s language?',
        ],
        'analytics' => [
            'analytics_google'       => 'Google Analytics code',
            'analytics_gosquared'    => 'GoSquared Analytics code',
            'analytics_piwik_url'    => 'URL of your Piwik instance (without http(s)://)',
            'analytics_piwik_siteid' => 'Piwik\'s site id',
        ],
        'localization' => [
            'site-timezone'        => 'Site timezone',
            'site-locale'          => 'Site language',
            'date-format'          => 'Date format',
            'incident-date-format' => 'Incident timestamp format',
        ],
        'security' => [
            'allowed-domains'      => 'Allowed domains',
            'allowed-domains-help' => 'Comma separated. The domain set above is automatically allowed by default.',
        ],
        'stylesheet' => [
            'custom-css' => 'Custom Stylesheet',
        ],
        'theme' => [
            'background-color'        => 'Background Color',
            'background-fills'        => 'Background fills (components, incidents, footer)',
            'banner-background-color' => 'Banner background color',
            'banner-padding'          => 'Banner padding',
            'fullwidth-banner'        => 'Enable fullwidth banner?',
            'text-color'              => 'Text Color',
            'dashboard-login'         => '',
            'reds'                    => '',
            'blues'                   => '',
            'greens'                  => '',
            'yellows'                 => '',
            'oranges'                 => '',
            'metrics'                 => 'Metrics fill',
            'links'                   => '',
        ],
    ],

    'user' => [
        'username'       => '',
        'email'          => '',
        'password'       => '',
        'api-token'      => 'API',
        'api-token-help' => 'Regenerating your API token will prevent existing applications from accessing Cachet.',
        'gravatar'       => 'Change your profile picture at Gravatar.',
        'user_level'     => '',
        'levels'         => [
            'admin' => '',
            'user'  => '',
        ],
        '2fa' => [
            'help' => 'Enabling two factor authentication increases security of your account. You will need to download <a href="https://support.google.com/accounts/answer/1066447?hl=en">Google Authenticator</a> or a similar app on to your mobile device. When you login you will be asked to provide a token generated by the app.',
        ],
        'team' => [
            'description' => 'Invite your team members by entering their email addresses here.',
            'email'       => 'Email #:id',
        ],
    ],

    // Buttons
    'add'    => '',
    'save'   => '',
    'update' => '',
    'create' => '',
    'edit'   => '',
    'delete' => '',
    'submit' => '',
    'cancel' => '',
    'remove' => 'Remove',
    'invite' => '',
    'signup' => '',

    // Other
    'optional' => ' ',
];
 ?>

Did this file decode correctly?

Original Code

<?php

/*
 * This file is part of Cachet.
 *
 * (c) Alt Three Services Limited
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

return [

    // Setup form fields
    'setup' => [
        'email'            => '',
        'username'         => '',
        'password'         => '',
        'site_name'        => '',
        'site_domain'      => '',
        'site_timezone'    => '',
        'site_locale'      => '',
        'enable_google2fa' => 'Google2',
        'cache_driver'     => '',
        'session_driver'   => '',
    ],

    // Login form fields
    'login' => [
        'login'         => '',
        'email'         => '',
        'password'      => '',
        '2fauth'        => 'Authentication Code',
        'invalid'       => '',
        'invalid-token' => '',
        'cookies'       => '',
        'rate-limit'    => 'Rate limit exceeded.',
    ],

    // Incidents form fields
    'incidents' => [
        'name'               => '',
        'status'             => '',
        'component'          => '',
        'message'            => 'Message',
        'message-help'       => 'You may also use Markdown.',
        'scheduled_at'       => 'When to schedule the maintenance for?',
        'incident_time'      => 'When did this incident occur?',
        'notify_subscribers' => 'Notify subscribers?',
        'visibility'         => 'Incident Visibility',
        'public'             => 'Viewable by public',
        'logged_in_only'     => 'Only visible to logged in users',
        'templates'          => [
            'name'     => '',
            'template' => 'Template',
            'twig'     => 'Incident Templates can make use of the <a href="https://twig.symfony.com" target="_blank">Twig</a> templating language.',
        ],
    ],

    // Components form fields
    'components' => [
        'name'        => '',
        'status'      => '',
        'group'       => 'Group',
        'description' => 'Description',
        'link'        => 'Link',
        'tags'        => 'Tags',
        'tags-help'   => 'Comma separated.',
        'enabled'     => 'Component enabled?',

        'groups' => [
            'name'               => '',
            'collapsing'         => 'Choose visibility of the group',
            'visible'            => 'Always expanded',
            'collapsed'          => 'Collapse the group by default',
            'collapsed_incident' => 'Collapse the group, but expand if there are issues',
        ],
    ],

    // Metric form fields
    'metrics' => [
        'name'             => '',
        'suffix'           => 'Suffix',
        'description'      => 'Description',
        'description-help' => 'You may also use Markdown.',
        'display-chart'    => 'Display chart on status page?',
        'default-value'    => 'Default value',
        'calc_type'        => 'Calculation of metrics',
        'type_sum'         => '',
        'type_avg'         => '',
        'places'           => 'Decimal places',
        'default_view'     => '',
        'threshold'        => 'How many minutes of threshold between metric points?',

        'points' => [
            'value' => '',
        ],
    ],

    // Settings
    'settings' => [
        /// Application setup
        'app-setup' => [
            'site-name'              => '',
            'site-url'               => 'URL',
            'display-graphs'         => 'Display graphs on status page?',
            'about-this-page'        => '',
            'days-of-incidents'      => '',
            'banner'                 => 'Banner Image',
            'banner-help'            => '930px',
            'subscribers'            => 'Allow people to signup to email notifications?',
            'automatic_localization' => 'Automatically localise your status page to your visitor\'s language?',
        ],
        'analytics' => [
            'analytics_google'       => 'Google Analytics code',
            'analytics_gosquared'    => 'GoSquared Analytics code',
            'analytics_piwik_url'    => 'URL of your Piwik instance (without http(s)://)',
            'analytics_piwik_siteid' => 'Piwik\'s site id',
        ],
        'localization' => [
            'site-timezone'        => 'Site timezone',
            'site-locale'          => 'Site language',
            'date-format'          => 'Date format',
            'incident-date-format' => 'Incident timestamp format',
        ],
        'security' => [
            'allowed-domains'      => 'Allowed domains',
            'allowed-domains-help' => 'Comma separated. The domain set above is automatically allowed by default.',
        ],
        'stylesheet' => [
            'custom-css' => 'Custom Stylesheet',
        ],
        'theme' => [
            'background-color'        => 'Background Color',
            'background-fills'        => 'Background fills (components, incidents, footer)',
            'banner-background-color' => 'Banner background color',
            'banner-padding'          => 'Banner padding',
            'fullwidth-banner'        => 'Enable fullwidth banner?',
            'text-color'              => 'Text Color',
            'dashboard-login'         => '',
            'reds'                    => '',
            'blues'                   => '',
            'greens'                  => '',
            'yellows'                 => '',
            'oranges'                 => '',
            'metrics'                 => 'Metrics fill',
            'links'                   => '',
        ],
    ],

    'user' => [
        'username'       => '',
        'email'          => '',
        'password'       => '',
        'api-token'      => 'API',
        'api-token-help' => 'Regenerating your API token will prevent existing applications from accessing Cachet.',
        'gravatar'       => 'Change your profile picture at Gravatar.',
        'user_level'     => '',
        'levels'         => [
            'admin' => '',
            'user'  => '',
        ],
        '2fa' => [
            'help' => 'Enabling two factor authentication increases security of your account. You will need to download <a href="https://support.google.com/accounts/answer/1066447?hl=en">Google Authenticator</a> or a similar app on to your mobile device. When you login you will be asked to provide a token generated by the app.',
        ],
        'team' => [
            'description' => 'Invite your team members by entering their email addresses here.',
            'email'       => 'Email #:id',
        ],
    ],

    // Buttons
    'add'    => '',
    'save'   => '',
    'update' => '',
    'create' => '',
    'edit'   => '',
    'delete' => '',
    'submit' => '',
    'cancel' => '',
    'remove' => 'Remove',
    'invite' => '',
    'signup' => '',

    // Other
    'optional' => ' ',
];

Function Calls

None

Variables

None

Stats

MD5 756ee0a2579fd03fe9c1cbdeca56025f
Eval Count 0
Decode Time 87 ms