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\API; use App\Http\Controllers\Controller; use App\H..

Decoded Output download

<?php

namespace App\Http\Controllers\API;

use App\Http\Controllers\Controller;
use App\Http\Requests\API\ScrobbleRequest;
use App\Jobs\ScrobbleJob;
use App\Models\Song;
use App\Models\User;
use Illuminate\Contracts\Auth\Authenticatable;

class ScrobbleController extends Controller
{
    /** @param User $user */
    public function __invoke(ScrobbleRequest $request, Song $song, Authenticatable $user)
    {
        if (!$song->artist->is_unknown && $user->connectedToLastfm()) {
            ScrobbleJob::dispatch($user, $song, $request->timestamp);
        }

        return response()->noContent();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace App\Http\Controllers\API;

use App\Http\Controllers\Controller;
use App\Http\Requests\API\ScrobbleRequest;
use App\Jobs\ScrobbleJob;
use App\Models\Song;
use App\Models\User;
use Illuminate\Contracts\Auth\Authenticatable;

class ScrobbleController extends Controller
{
    /** @param User $user */
    public function __invoke(ScrobbleRequest $request, Song $song, Authenticatable $user)
    {
        if (!$song->artist->is_unknown && $user->connectedToLastfm()) {
            ScrobbleJob::dispatch($user, $song, $request->timestamp);
        }

        return response()->noContent();
    }
}

Function Calls

None

Variables

None

Stats

MD5 2bf47ef275591e9ee2e99a3a40c66df3
Eval Count 0
Decode Time 106 ms