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 Pterodactyl\Http\Controllers\Admin; use Illuminate\View\View; use I..

Decoded Output download

<?php 
 
namespace Pterodactyl\Http\Controllers\Admin; 
 
use Illuminate\View\View; 
use Illuminate\View\Factory as ViewFactory; 
use Pterodactyl\Http\Controllers\Controller; 
use Pterodactyl\Services\Helpers\SoftwareVersionService; 
use Pterodactyl\BlueprintFramework\Services\PlaceholderService\BlueprintPlaceholderService; 
use Pterodactyl\BlueprintFramework\Libraries\ExtensionLibrary\Admin\BlueprintAdminLibrary as BlueprintExtensionLibrary; 
 
class ExtensionsController extends Controller 
{ 
  /** 
   * ExtensionsController constructor. 
   */ 
  public function __construct( 
    private SoftwareVersionService $version, 
    private ViewFactory $view, 
    private BlueprintExtensionLibrary $ExtensionLibrary, 
    private BlueprintPlaceholderService $PlaceholderService) 
  { 
  } 
 
  /** 
   * Return the admin index view. 
   */ 
  public function index(): View 
  { 
    return $this->view->make('admin.extensions', [ 
      'ExtensionLibrary' => $this->ExtensionLibrary, 
      'PlaceholderService' => $this->PlaceholderService, 
       
      'version' => $this->version, 
      'root' => "/admin/extensions", 
    ]); 
  } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Pterodactyl\Http\Controllers\Admin;

use Illuminate\View\View;
use Illuminate\View\Factory as ViewFactory;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Services\Helpers\SoftwareVersionService;
use Pterodactyl\BlueprintFramework\Services\PlaceholderService\BlueprintPlaceholderService;
use Pterodactyl\BlueprintFramework\Libraries\ExtensionLibrary\Admin\BlueprintAdminLibrary as BlueprintExtensionLibrary;

class ExtensionsController extends Controller
{
  /**
   * ExtensionsController constructor.
   */
  public function __construct(
    private SoftwareVersionService $version,
    private ViewFactory $view,
    private BlueprintExtensionLibrary $ExtensionLibrary,
    private BlueprintPlaceholderService $PlaceholderService)
  {
  }

  /**
   * Return the admin index view.
   */
  public function index(): View
  {
    return $this->view->make('admin.extensions', [
      'ExtensionLibrary' => $this->ExtensionLibrary,
      'PlaceholderService' => $this->PlaceholderService,
      
      'version' => $this->version,
      'root' => "/admin/extensions",
    ]);
  }
}

Function Calls

None

Variables

None

Stats

MD5 e844d22d31783cfa14693253cd9b30d6
Eval Count 0
Decode Time 106 ms