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 RachidLaasri\LaravelInstaller\Controllers; use Illuminate\Routing\Contro..

Decoded Output download

<?php  
namespace RachidLaasri\LaravelInstaller\Controllers; use Illuminate\Routing\Controller; use RachidLaasri\LaravelInstaller\Helpers\DatabaseManager; use RachidLaasri\LaravelInstaller\Helpers\InstalledFileManager; class UpdateController extends Controller { use \RachidLaasri\LaravelInstaller\Helpers\MigrationsHelper; public function welcome() { return view("vendor.installer.update.welcome"); } public function overview() { goto O3705; O1801: $dbMigrations = $this->getExecutedMigrations(); goto O7844; O3705: $migrations = $this->getMigrations(); goto O1801; O7844: return view("vendor.installer.update.overview", ["numberOfUpdatesPending" => count($migrations) - count($dbMigrations)]); goto O8417; O8417: } public function database() { goto O3816; O2288: return redirect()->route("LaravelUpdater::final")->with(["message" => $response]); goto O8080; O1052: $response = $databaseManager->migrateAndSeed(); goto O2288; O3816: $databaseManager = new DatabaseManager(); goto O1052; O8080: } public function finish(InstalledFileManager $fileManager) { $fileManager->update(); return view("vendor.installer.update.finished"); } } ?>

Did this file decode correctly?

Original Code

<?php 
namespace RachidLaasri\LaravelInstaller\Controllers; use Illuminate\Routing\Controller; use RachidLaasri\LaravelInstaller\Helpers\DatabaseManager; use RachidLaasri\LaravelInstaller\Helpers\InstalledFileManager; class UpdateController extends Controller { use \RachidLaasri\LaravelInstaller\Helpers\MigrationsHelper; public function welcome() { return view("\x76\145\x6e\144\157\162\56\x69\x6e\163\x74\141\x6c\154\145\x72\56\165\x70\x64\141\164\x65\x2e\x77\145\x6c\143\157\155\145"); } public function overview() { goto O3705; O1801: $dbMigrations = $this->getExecutedMigrations(); goto O7844; O3705: $migrations = $this->getMigrations(); goto O1801; O7844: return view("\x76\x65\156\x64\157\162\56\x69\156\x73\x74\141\154\154\145\162\x2e\165\160\x64\141\x74\145\56\x6f\166\x65\162\166\x69\145\167", ["\156\165\155\142\145\162\x4f\x66\x55\160\144\x61\164\145\163\120\145\156\144\x69\156\147" => count($migrations) - count($dbMigrations)]); goto O8417; O8417: } public function database() { goto O3816; O2288: return redirect()->route("\114\141\x72\141\166\145\x6c\125\160\144\141\x74\145\162\x3a\72\146\x69\156\x61\x6c")->with(["\155\x65\163\163\x61\147\145" => $response]); goto O8080; O1052: $response = $databaseManager->migrateAndSeed(); goto O2288; O3816: $databaseManager = new DatabaseManager(); goto O1052; O8080: } public function finish(InstalledFileManager $fileManager) { $fileManager->update(); return view("\x76\145\156\x64\157\162\56\x69\156\163\x74\141\x6c\154\x65\162\x2e\165\x70\x64\141\x74\x65\56\x66\x69\x6e\151\x73\150\145\144"); } }

Function Calls

None

Variables

None

Stats

MD5 0872a7876687fea037329c19d3b092c0
Eval Count 0
Decode Time 53 ms