[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: MenuTableSeeder.php
<?php namespace Database\Seeders; use App\Libraries\AppLibrary; use App\Models\Menu; use Illuminate\Database\Seeder; class MenuTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $menus = [ [ 'name' => 'Dashboard', 'language' => 'dashboard', 'url' => 'dashboard', 'icon' => 'lab lab-line-dashboard', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Product & Stock', 'language' => 'product_and_stock', 'url' => '#', 'icon' => 'lab lab-item', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Products', 'language' => 'products', 'url' => 'products', 'icon' => 'lab lab-line-items', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Purchase', 'url' => 'purchase', 'language' => 'purchase', 'icon' => 'lab lab-line-add-purchase', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Damages', 'url' => 'damages', 'language' => 'damages', 'icon' => 'lab lab-line-addons', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Stock', 'url' => 'stock', 'language' => 'stock', 'icon' => 'lab lab-line-stock', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Reviews', 'url' => 'reviews', 'language' => 'reviews', 'icon' => 'lab lab-line-rating-star', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ], [ 'name' => 'Pos & Orders', 'language' => 'pos_and_orders', 'url' => '#', 'icon' => 'lab lab-pos', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'POS', 'url' => 'pos', 'language' => 'pos', 'icon' => 'lab lab-line-pos', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'POS Orders', 'language' => 'pos_orders', 'url' => 'pos-orders', 'icon' => 'lab lab-line-push-notification', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Online Orders', 'language' => 'online_orders', 'url' => 'online-orders', 'icon' => 'lab lab-line-online-orders', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Return Orders', 'language' => 'return_orders', 'url' => 'return-orders', 'icon' => 'lab lab-line-order-setup', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Return And Refunds', 'language' => 'return_and_refunds', 'url' => 'return-and-refunds', 'icon' => 'lab lab-line-3d-rotate', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ], ], [ 'name' => 'Promo', 'language' => 'promo', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Coupons', 'language' => 'coupons', 'url' => 'coupons', 'icon' => 'lab lab-line-coupon', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Promotions', 'language' => 'promotions', 'url' => 'promotions', 'icon' => 'lab lab-line-promotion', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Product Sections', 'language' => 'product_sections', 'url' => 'product-sections', 'icon' => 'lab lab-line-product-section', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ], [ 'name' => 'Communications', 'language' => 'communications', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Push Notifications', 'language' => 'push_notifications', 'url' => 'push-notifications', 'icon' => 'lab lab-line-notification-alert', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Subscribers', 'language' => 'subscribers', 'url' => 'subscribers', 'icon' => 'lab lab-line-social', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ], [ 'name' => 'Users', 'language' => 'users', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Administrators', 'language' => 'administrators', 'url' => 'administrators', 'icon' => 'lab lab-line-administrator', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Customers', 'language' => 'customers', 'url' => 'customers', 'icon' => 'lab lab-line-cunstomers', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Employees', 'language' => 'employees', 'url' => 'employees', 'icon' => 'lab lab-line-users', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], ] ], [ 'name' => 'Accounts', 'language' => 'accounts', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Transactions', 'language' => 'transactions', 'url' => 'transactions', 'icon' => 'lab lab-line-transactions', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ], [ 'name' => 'Reports', 'language' => 'reports', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Sales Report', 'language' => 'sales_report', 'url' => 'sales-report', 'icon' => 'lab lab-line-sales-report', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Products Report', 'language' => 'products_report', 'url' => 'products-report', 'icon' => 'lab lab-line-items-report', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Credit Balance Report', 'language' => 'credit_balance_report', 'url' => 'credit-balance-report', 'icon' => 'lab lab-line-report', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ], [ 'name' => 'Setup', 'language' => 'setup', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Settings', 'language' => 'settings', 'url' => 'settings', 'icon' => 'lab lab-line-settings', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ] ]; Menu::insert(AppLibrary::associativeToNumericArrayBuilder($menus)); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 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:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285