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\View\Components; use Closure; use Illuminate\Contracts\View\View; us..

Decoded Output download

<?php

namespace App\View\Components;

use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;

class ResourceView extends Component
{
    /**
     * Create a new component instance.
     */
    public function __construct(
        public ?string $wire = null,
        public ?string $logo = null,
        public ?string $documentation = null,
        public bool $upgrade = false,
    ) {

    }

    /**
     * Get the view / contents that represent the component.
     */
    public function render(): View|Closure|string
    {
        return view('components.resource-view');
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace App\View\Components;

use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;

class ResourceView extends Component
{
    /**
     * Create a new component instance.
     */
    public function __construct(
        public ?string $wire = null,
        public ?string $logo = null,
        public ?string $documentation = null,
        public bool $upgrade = false,
    ) {

    }

    /**
     * Get the view / contents that represent the component.
     */
    public function render(): View|Closure|string
    {
        return view('components.resource-view');
    }
}

Function Calls

None

Variables

None

Stats

MD5 efd0eae0f5608f4e5ca947912bcace75
Eval Count 0
Decode Time 91 ms