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 Webkul\Core\Providers; use Illuminate\Http\Request; use Shetabit\Visitor..

Decoded Output download

<?php

namespace Webkul\Core\Providers;

use Illuminate\Http\Request;
use Shetabit\Visitor\Provider\VisitorServiceProvider as BaseVisitorServiceProvider;
use Webkul\Core\Visitor;

class VisitorServiceProvider extends BaseVisitorServiceProvider
{
    /**
     * Perform post-registration booting of services.
     */
    public function boot(): void
    {
        $this->registerMacroHelpers();
    }

    /**
     * Register any package services.
     */
    public function register(): void
    {
        /**
         * Bind to service container.
         */
        $this->app->singleton('shetabit-visitor', function () {
            $request = app(Request::class);

            return new Visitor($request, config('visitor'));
        });
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Webkul\Core\Providers;

use Illuminate\Http\Request;
use Shetabit\Visitor\Provider\VisitorServiceProvider as BaseVisitorServiceProvider;
use Webkul\Core\Visitor;

class VisitorServiceProvider extends BaseVisitorServiceProvider
{
    /**
     * Perform post-registration booting of services.
     */
    public function boot(): void
    {
        $this->registerMacroHelpers();
    }

    /**
     * Register any package services.
     */
    public function register(): void
    {
        /**
         * Bind to service container.
         */
        $this->app->singleton('shetabit-visitor', function () {
            $request = app(Request::class);

            return new Visitor($request, config('visitor'));
        });
    }
}

Function Calls

None

Variables

None

Stats

MD5 e3bcf6fafaab71b4093aa2364bab8cb3
Eval Count 0
Decode Time 130 ms