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 /* __________________________________________________ | Obfuscated by YAK P..

Decoded Output download

<?php 
/*   __________________________________________________ 
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  | 
    |              on 2022-09-30 06:29:58              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
/* 
* Copyright (C) Incevio Systems, Inc - All Rights Reserved 
* Unauthorized copying of this file, via any medium is strictly prohibited 
* Proprietary and confidential 
* Written by Munna Khan <[email protected]>, September 2018 
*/ 
 
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
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2022-09-30 06:29:58              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
/*
* Copyright (C) Incevio Systems, Inc - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Munna Khan <[email protected]>, September 2018
*/

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\x72\141\x74\x69\157\156\x73" . DIRECTORY_SEPARATOR . "\x2a\56\160\x68\x70");
        return str_replace("\56\160\150\x70", '', $migrations);
    }
    public function getExecutedMigrations()
    {
        return DB::table("\x6d\x69\147\162\x61\164\151\157\x6e\163")->get()->pluck("\155\151\x67\162\141\x74\151\157\x6e");
    }
}

Function Calls

None

Variables

None

Stats

MD5 f0dfee36b2b7e634d194052c6ea3d0ab
Eval Count 0
Decode Time 42 ms