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\Inventory; use Illuminate\Database\See..
Decoded Output download
<?php
namespace Webkul\Installer\Database\Seeders\Inventory;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class InventorySourceTableSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @param array $parameters
* @return void
*/
public function run($parameters = [])
{
DB::table('inventory_sources')->delete();
$defaultLocale = $parameters['default_locale'] ?? config('app.locale');
DB::table('inventory_sources')->insert([
'id' => 1,
'code' => 'default',
'name' => trans('installer::app.seeders.inventory.inventory-sources.name', [], $defaultLocale),
'contact_name' => trans('installer::app.seeders.inventory.inventory-sources.name', [], $defaultLocale),
'contact_email' => '[email protected]',
'contact_number' => 1234567899,
'status' => 1,
'country' => 'US',
'state' => 'MI',
'street' => '12th Street',
'city' => 'Detroit',
'postcode' => '48127',
]);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Webkul\Installer\Database\Seeders\Inventory;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class InventorySourceTableSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @param array $parameters
* @return void
*/
public function run($parameters = [])
{
DB::table('inventory_sources')->delete();
$defaultLocale = $parameters['default_locale'] ?? config('app.locale');
DB::table('inventory_sources')->insert([
'id' => 1,
'code' => 'default',
'name' => trans('installer::app.seeders.inventory.inventory-sources.name', [], $defaultLocale),
'contact_name' => trans('installer::app.seeders.inventory.inventory-sources.name', [], $defaultLocale),
'contact_email' => '[email protected]',
'contact_number' => 1234567899,
'status' => 1,
'country' => 'US',
'state' => 'MI',
'street' => '12th Street',
'city' => 'Detroit',
'postcode' => '48127',
]);
}
}
Function Calls
None |
Stats
MD5 | 3ff9fe8c7c7cc4d9e6acf062ea3091c5 |
Eval Count | 0 |
Decode Time | 108 ms |