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\Installer\Database\Seeders\SocialLogin; use Carbon\Carbon; use Il..

Decoded Output download

<?php

namespace Webkul\Installer\Database\Seeders\SocialLogin;

use Carbon\Carbon;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class CustomerSocialAccountTableSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @param  array  $parameters
     * @return void
     */
    public function run($parameters = [])
    {
        $now = Carbon::now();

        DB::table('core_config')->insert([
            [
                'code'         => 'customer.settings.social_login.enable_facebook',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ], [
                'code'         => 'customer.settings.social_login.enable_twitter',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ], [
                'code'         => 'customer.settings.social_login.enable_google',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ], [
                'code'         => 'customer.settings.social_login.enable_linkedin',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ], [
                'code'         => 'customer.settings.social_login.enable_github',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ],
        ]);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Webkul\Installer\Database\Seeders\SocialLogin;

use Carbon\Carbon;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class CustomerSocialAccountTableSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @param  array  $parameters
     * @return void
     */
    public function run($parameters = [])
    {
        $now = Carbon::now();

        DB::table('core_config')->insert([
            [
                'code'         => 'customer.settings.social_login.enable_facebook',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ], [
                'code'         => 'customer.settings.social_login.enable_twitter',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ], [
                'code'         => 'customer.settings.social_login.enable_google',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ], [
                'code'         => 'customer.settings.social_login.enable_linkedin',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ], [
                'code'         => 'customer.settings.social_login.enable_github',
                'value'        => '1',
                'channel_code' => 'default',
                'locale_code'  => null,
                'created_at'   => $now,
                'updated_at'   => $now,
            ],
        ]);
    }
}

Function Calls

None

Variables

None

Stats

MD5 ba455c3bf78ed6bd5edf2d2572ffc843
Eval Count 0
Decode Time 106 ms