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 namespace Modules\Installer\Controllers; use App\Config\ps_constant; use Carb..

Decoded Output download

<?php 
 
namespace Modules\Installer\Controllers; 
 
use App\Config\ps_constant; 
use Carbon\Carbon; 
use Illuminate\Routing\Controller; 
use Modules\Core\Entities\SystemCode; 
use Modules\Installer\Events\LaravelInstallerFinished; 
use Modules\Installer\Helpers\EnvironmentManager; 
use Modules\Installer\Helpers\FinalInstallManager; 
use Modules\Installer\Helpers\InstalledFileManager; 
 
class FinalController extends Controller 
{ 
    public function finish(InstalledFileManager $fileManager, FinalInstallManager $finalInstall, EnvironmentManager $environment) 
    { 
        goto KQYoz; 
        ijLR1: 
        try { 
            goto cyUIc; 
            C1j5e: 
            $freeTrialDuration->save(); 
            goto GMu9l; 
            N9t0R: 
            $freeTrialDuration->code = base64_encode(Carbon::now() . "/n"); 
            goto C1j5e; 
            cyUIc: 
            $freeTrialDuration = new SystemCode(); 
            goto N9t0R; 
            GMu9l: 
        } catch (\Throwable $e) { 
        } 
        goto DUxLO; 
        pYtbe: 
        $finalEnvFile = $environment->getEnvContent(); 
        goto ijLR1; 
        KQYoz: 
        $finalMessages = $finalInstall->runFinal(); 
        goto HE_1x; 
        HE_1x: 
        $finalStatusMessage = $fileManager->update(); 
        goto pYtbe; 
        To7iw: 
        return view("vendor.installer.finished", compact("finalMessages", "finalStatusMessage", "finalEnvFile")); 
        goto VfP0a; 
        DUxLO: 
        event(new LaravelInstallerFinished()); 
        goto To7iw; 
        VfP0a: 
    } 
} ?>

Did this file decode correctly?

Original Code

<?php

namespace Modules\Installer\Controllers;

use App\Config\ps_constant;
use Carbon\Carbon;
use Illuminate\Routing\Controller;
use Modules\Core\Entities\SystemCode;
use Modules\Installer\Events\LaravelInstallerFinished;
use Modules\Installer\Helpers\EnvironmentManager;
use Modules\Installer\Helpers\FinalInstallManager;
use Modules\Installer\Helpers\InstalledFileManager;

class FinalController extends Controller
{
    public function finish(InstalledFileManager $fileManager, FinalInstallManager $finalInstall, EnvironmentManager $environment)
    {
        goto KQYoz;
        ijLR1:
        try {
            goto cyUIc;
            C1j5e:
            $freeTrialDuration->save();
            goto GMu9l;
            N9t0R:
            $freeTrialDuration->code = base64_encode(Carbon::now() . "\57\156");
            goto C1j5e;
            cyUIc:
            $freeTrialDuration = new SystemCode();
            goto N9t0R;
            GMu9l:
        } catch (\Throwable $e) {
        }
        goto DUxLO;
        pYtbe:
        $finalEnvFile = $environment->getEnvContent();
        goto ijLR1;
        KQYoz:
        $finalMessages = $finalInstall->runFinal();
        goto HE_1x;
        HE_1x:
        $finalStatusMessage = $fileManager->update();
        goto pYtbe;
        To7iw:
        return view("\x76\145\156\x64\157\x72\56\151\156\x73\x74\141\x6c\x6c\145\x72\56\x66\x69\x6e\151\163\150\x65\x64", compact("\146\x69\156\x61\x6c\115\x65\x73\x73\141\147\x65\163", "\146\151\x6e\x61\x6c\123\164\141\164\165\163\x4d\145\x73\x73\141\147\145", "\146\x69\x6e\141\154\x45\156\x76\x46\151\x6c\x65"));
        goto VfP0a;
        DUxLO:
        event(new LaravelInstallerFinished());
        goto To7iw;
        VfP0a:
    }
}

Function Calls

None

Variables

None

Stats

MD5 1df044520cb6e97450249d3e7e3ab1a8
Eval Count 0
Decode Time 45 ms