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 App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Su..
Decoded Output download
<?php
namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Config; class AppServiceProvider extends ServiceProvider { public function register() : void { goto uUAxl; i8uTf: C5UGc: goto tliE9; uUAxl: if (!defined("IN_PHAR")) { goto Ra6ce; } goto arRRm; Xw_lm: if (!$this->app->environment("local")) { goto C5UGc; } goto i8uTf; arRRm: Config::set("view.paths", [resource_path("views")]); goto OXC4z; X3Dbh: goto De13l; goto bAyW3; qBwiv: if (PHP_OS_FAMILY === "Windows") { goto DJUdz; } goto cXkZs; tliE9: $this->app->register(FilamentServiceProvider::class); goto xF_NX; AuPu4: De13l: goto DzeTS; OXC4z: Config::set("database.default", "sqlite"); goto qBwiv; XkVCP: $this->app->register(\Zhangqm\DevToolsBox\Providers\ModuleServiceProvider::class); goto XpW0P; cXkZs: Config::set("database.connections.sqlite.database", PHAR_DIR . "/database.sqlite"); goto X3Dbh; XpW0P: re706: goto Xw_lm; iaMfP: Config::set("database.connections.sqlite.database", "database.sqlite"); goto AuPu4; bAyW3: DJUdz: goto iaMfP; oJKzR: Ra6ce: goto XkVCP; DzeTS: goto re706; goto oJKzR; xF_NX: } public function boot() : void { } } ?>
Did this file decode correctly?
Original Code
<?php
namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Config; class AppServiceProvider extends ServiceProvider { public function register() : void { goto uUAxl; i8uTf: C5UGc: goto tliE9; uUAxl: if (!defined("\x49\116\x5f\x50\110\x41\122")) { goto Ra6ce; } goto arRRm; Xw_lm: if (!$this->app->environment("\x6c\157\143\x61\x6c")) { goto C5UGc; } goto i8uTf; arRRm: Config::set("\x76\151\x65\167\x2e\x70\x61\x74\150\x73", [resource_path("\x76\151\x65\167\163")]); goto OXC4z; X3Dbh: goto De13l; goto bAyW3; qBwiv: if (PHP_OS_FAMILY === "\127\151\x6e\144\157\167\163") { goto DJUdz; } goto cXkZs; tliE9: $this->app->register(FilamentServiceProvider::class); goto xF_NX; AuPu4: De13l: goto DzeTS; OXC4z: Config::set("\144\x61\x74\141\142\141\163\145\56\x64\145\x66\141\x75\154\x74", "\163\161\x6c\151\x74\145"); goto qBwiv; XkVCP: $this->app->register(\Zhangqm\DevToolsBox\Providers\ModuleServiceProvider::class); goto XpW0P; cXkZs: Config::set("\144\x61\x74\141\x62\141\163\x65\x2e\143\x6f\156\156\x65\x63\164\x69\157\x6e\163\x2e\163\161\x6c\151\x74\x65\x2e\144\141\x74\141\142\141\x73\145", PHAR_DIR . "\57\144\141\164\x61\142\x61\x73\x65\56\x73\x71\154\x69\x74\x65"); goto X3Dbh; XpW0P: re706: goto Xw_lm; iaMfP: Config::set("\x64\141\x74\x61\x62\x61\163\145\56\143\x6f\x6e\156\x65\143\x74\x69\157\156\x73\56\x73\x71\x6c\x69\x74\145\56\x64\141\x74\141\142\x61\163\145", "\144\141\164\141\x62\141\163\145\x2e\163\x71\x6c\x69\x74\145"); goto AuPu4; bAyW3: DJUdz: goto iaMfP; oJKzR: Ra6ce: goto XkVCP; DzeTS: goto re706; goto oJKzR; xF_NX: } public function boot() : void { } }
Function Calls
None |
Stats
MD5 | a71612d09650188fdeede188cfe4a8e6 |
Eval Count | 0 |
Decode Time | 58 ms |