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\Http\Controllers\Installer\Helpers; use Illuminate\Support\Facades\DB..
Decoded Output download
<?php
namespace App\Http\Controllers\Installer\Helpers; use Illuminate\Support\Facades\DB; trait MigrationsHelper { public function getMigrations() { $migrations = glob(database_path() . DIRECTORY_SEPARATOR . "migrations" . DIRECTORY_SEPARATOR . "*.php"); return str_replace(".php", '', $migrations); } public function getExecutedMigrations() { return DB::table("migrations")->get()->pluck("migration"); } }
?>
Did this file decode correctly?
Original Code
<?php
namespace App\Http\Controllers\Installer\Helpers; use Illuminate\Support\Facades\DB; trait MigrationsHelper { public function getMigrations() { $migrations = glob(database_path() . DIRECTORY_SEPARATOR . "\x6d\x69\147\162\141\x74\x69\157\x6e\x73" . DIRECTORY_SEPARATOR . "\x2a\56\160\150\x70"); return str_replace("\56\160\150\x70", '', $migrations); } public function getExecutedMigrations() { return DB::table("\155\x69\147\162\x61\x74\151\157\x6e\x73")->get()->pluck("\155\151\x67\162\141\x74\151\157\x6e"); } }
Function Calls
None |
Stats
MD5 | 18e28b9d8d740bb7813f68ff8a172f78 |
Eval Count | 0 |
Decode Time | 40 ms |