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 Database\Seeders; use App\Models\OauthSetting; use Illuminate\Database\S..

Decoded Output download

<?php

namespace Database\Seeders;

use App\Models\OauthSetting;
use Illuminate\Database\Seeder;

class OauthSettingSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        OauthSetting::firstOrCreate([
            'id' => 0,
            'provider' => 'azure',
        ]);
        OauthSetting::firstOrCreate([
            'id' => 1,
            'provider' => 'bitbucket',
        ]);
        OauthSetting::firstOrCreate([
            'id' => 2,
            'provider' => 'github',
        ]);
        OauthSetting::firstOrCreate([
            'id' => 3,
            'provider' => 'gitlab',
        ]);
        OauthSetting::firstOrCreate([
            'id' => 4,
            'provider' => 'google',
        ]);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Database\Seeders;

use App\Models\OauthSetting;
use Illuminate\Database\Seeder;

class OauthSettingSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        OauthSetting::firstOrCreate([
            'id' => 0,
            'provider' => 'azure',
        ]);
        OauthSetting::firstOrCreate([
            'id' => 1,
            'provider' => 'bitbucket',
        ]);
        OauthSetting::firstOrCreate([
            'id' => 2,
            'provider' => 'github',
        ]);
        OauthSetting::firstOrCreate([
            'id' => 3,
            'provider' => 'gitlab',
        ]);
        OauthSetting::firstOrCreate([
            'id' => 4,
            'provider' => 'google',
        ]);
    }
}

Function Calls

None

Variables

None

Stats

MD5 44f3022a058d7320922b569f76c934d3
Eval Count 0
Decode Time 83 ms