Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mcoil.corals.io/database/factories/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mcoil.corals.io/database/factories/BusinessModelFactory.php
<?php

use App\Shop\Rrps\Rrp;
use Faker\Generator as Faker;
use App\Shop\Businesses\Business;

$factory->define(Business::class, function (Faker $faker) {
    $rrp_id = Rrp::all()->random()->id;
    return [
        'title' => $faker->unique->word,
        'description' => $faker->paragraph,
        'address1' => $faker->streetAddress,
        'address2' => $faker->secondaryAddress,
        'email' => $faker->email,
        'telephone' => $faker->e164PhoneNumber,
        'country' => $faker->country,
        'contacts' => [
                        [ 'id' => 1, 'name' => $faker->name, 'telephone' => $faker->e164PhoneNumber, 'email' => $faker->email  ],
                        [ 'id' => 2, 'name' => $faker->name, 'telephone' => $faker->e164PhoneNumber, 'email' => $faker->email  ]
                      ],
        'account_manager_id' => 1,
        'area' => $faker->city,
        'discount' => $faker->randomFloat(2, 10, 999),
        'rrp_id' => $rrp_id,
        'price_types_id' => 2
    ];
});

Spamworldpro Mini