repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
zgabievi/pingcrm-svelte
https://github.com/zgabievi/pingcrm-svelte/blob/4bc6d9883123d1b1a2c9b59b4d315d4f1823bf8a/resources/lang/en/auth.php
resources/lang/en/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
php
MIT
4bc6d9883123d1b1a2c9b59b4d315d4f1823bf8a
2026-01-05T04:42:55.697447Z
false
zgabievi/pingcrm-svelte
https://github.com/zgabievi/pingcrm-svelte/blob/4bc6d9883123d1b1a2c9b59b4d315d4f1823bf8a/resources/views/app.blade.php
resources/views/app.blade.php
<!DOCTYPE html> <html class="h-full bg-gray-200"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> <link href="{{ mix('/css/app.css') }}" rel="stylesheet"> <script src="{{ mix('/js/app.js') }}" defer></script> @routes </head> <bo...
php
MIT
4bc6d9883123d1b1a2c9b59b4d315d4f1823bf8a
2026-01-05T04:42:55.697447Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_php_config.php
luci-app-nekobox/htdocs/nekobox/update_php_config.php
<?php header("Content-Type: application/json"); if ($_SERVER['REQUEST_METHOD'] === 'POST') { $configFile = "/etc/php.ini"; $configChanges = [ 'upload_max_filesize' => '2048M', 'post_max_size' => '2048M', 'max_file_uploads' => '100', 'memory_limit' => '2048M', 'max_exec...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/check_update.php
luci-app-nekobox/htdocs/nekobox/check_update.php
<?php $repo_owner = "Thaolga"; $repo_name = "openwrt-nekobox"; $package_name = "luci-app-nekobox"; $json_file = __DIR__ . "/version_debug.json"; function getCurrentVersion($package_name) { $output = shell_exec("opkg list-installed | grep " . escapeshellarg($package_name) . " 2>&1"); if (!$output) return "Error...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_rule.php
luci-app-nekobox/htdocs/nekobox/update_rule.php
<?php ini_set('memory_limit', '128M'); ini_set('max_execution_time', 300); $logMessages = []; function logMessage($filename, $message) { global $logMessages; $timestamp = date('H:i:s'); $logMessages[] = "[$timestamp] $filename: $message"; } class MultiDownloader { private $urls = []; private $max...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_dashboard.php
luci-app-nekobox/htdocs/nekobox/update_dashboard.php
<?php ini_set('memory_limit', '128M'); $fixed_version = "v0.3.0"; function getUiVersion() { $versionFile = '/etc/neko/ui/dashboard/version.txt'; if (file_exists($versionFile)) { return trim(file_get_contents($versionFile)); } else { return null; } } function writeVersionToFile($...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_metacubexd.php
luci-app-nekobox/htdocs/nekobox/update_metacubexd.php
<?php ini_set('memory_limit', '128M'); function getUiVersion() { $versionFile = '/etc/neko/ui/metacubexd/version.txt'; if (file_exists($versionFile)) { return trim(file_get_contents($versionFile)); } else { return "Version file does not exist"; } } function writeVersionToFile($v...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/singbox.php
luci-app-nekobox/htdocs/nekobox/singbox.php
<?php ob_start(); include './cfg.php'; $dataFilePath = '/etc/neko/proxy_provider/subscription_data.txt'; $lastSubscribeUrl = ''; if (file_exists($dataFilePath)) { $fileContent = file_get_contents($dataFilePath); $subscriptionLinkAddress = $translations['subscription_link_address'] ?? 'Subscription Link Addres...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/ping.php
luci-app-nekobox/htdocs/nekobox/ping.php
<?php $timezone = trim(shell_exec("uci get system.@system[0].zonename 2>/dev/null")); date_default_timezone_set($timezone ?: 'UTC'); ?> <?php if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['action']) && $_POST['action'] === 'clearNekoTmpDir') { $nekoDir = '/tmp/neko'; $response = [ 'success...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/fetch_logs.php
luci-app-nekobox/htdocs/nekobox/fetch_logs.php
<?php ini_set('memory_limit', '256M'); header('Content-Type: text/plain'); $allowed_files = [ 'plugin_log' => '/etc/neko/tmp/log.txt', 'mihomo_log' => '/etc/neko/tmp/neko_log.txt', 'singbox_log' => '/var/log/singbox_log.txt', ]; $file = $_GET['file'] ?? ''; $max_chars = 1000000; $max_line_length = 160...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/cfg.php
luci-app-nekobox/htdocs/nekobox/cfg.php
<?php $neko_dir="/etc/neko"; $neko_www="/www/nekobox"; $neko_bin="/usr/bin/mihomo"; $neko_status=exec("uci -q get neko.cfg.enabled"); $current = basename($_SERVER['PHP_SELF']); $selected_config= exec("cat $neko_www/lib/selected_config.txt"); $neko_cfg = array(); $neko_cfg['redir']=exec("cat $selected_config | grep redi...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/filekit.php
luci-app-nekobox/htdocs/nekobox/filekit.php
<?php ini_set('memory_limit', '256M'); ob_start(); include './cfg.php'; $root_dir = "/"; $current_dir = isset($_GET['dir']) ? $_GET['dir'] : ''; $current_dir = '/' . trim($current_dir, '/') . '/'; if ($current_dir == '//') $current_dir = '/'; $current_path = $root_dir . ltrim($current_dir, '/'); if (strpos(realpath($c...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/panel.php
luci-app-nekobox/htdocs/nekobox/panel.php
<?php include './cfg.php'; $neko_cfg['ctrl_host'] = $_SERVER['SERVER_NAME']; $command = "cat $selected_config | grep external-c | awk '{print $2}' | cut -d: -f2"; $port_output = shell_exec($command); if ($port_output === null) { $neko_cfg['ctrl_port'] = 'default_port'; } else { $neko_cfg['ctrl_port'] = tri...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/navbar.php
luci-app-nekobox/htdocs/nekobox/navbar.php
<nav class="navbar navbar-expand-lg sticky-top"> <div class="container-sm container px-1 px-sm-3 px-md-4"> <a class="navbar-brand d-flex align-items-center" href="#"> <?= $iconHtml ?> <span id="dynamicTitle" style="color: var(--accent-color); letter-spacing: 1px; cursor: pointer;" on...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/mihomo.php
luci-app-nekobox/htdocs/nekobox/mihomo.php
<?php ob_start(); include './cfg.php'; ini_set('memory_limit', '256M'); $subscription_file = '/etc/neko/subscription.txt'; $download_path = '/etc/neko/config/'; $sh_script_path = '/etc/neko/core/update_config.sh'; $log_file = '/var/log/neko_update.log'; $current_subscription_url = ''; if (isset($_POST['subscript...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_singbox_core.php
luci-app-nekobox/htdocs/nekobox/update_singbox_core.php
<?php $repo_owner = "Thaolga"; $repo_name = "luci-app-nekoclash"; $package_name = "sing-box"; $new_version = isset($_GET['version']) ? $_GET['version'] : "v1.11.0-alpha.10"; $new_version_cleaned = str_replace('v', '', $new_version); if (isset($_GET['check_version'])) { $api_url = "https://api.github.com/repos/...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_preview.php
luci-app-nekobox/htdocs/nekobox/update_preview.php
<?php $repo_owner = "Thaolga"; $repo_name = "neko"; $package_name = "luci-app-nekobox"; $api_url = "https://api.github.com/repos/$repo_owner/$repo_name/releases/latest"; $local_api_response = "/tmp/api_response.json"; $curl_command = "curl -H 'User-Agent: PHP' -s " . escapeshellarg($api_url) . " -o " . escapeshellarg...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/language.php
luci-app-nekobox/htdocs/nekobox/language.php
<?php $langData = [ 'de' => [ 'home' => 'Startseite', 'panel' => 'Panel', 'document' => 'Abonnement', 'settings' => 'Einstellungen', 'manager' => 'Verwalten', 'template_i' => 'Vorlage Eins', 'template_ii' => 'Vorlage Zwei', 'template_iii' => 'Vorla...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/puernya.php
luci-app-nekobox/htdocs/nekobox/puernya.php
<?php ini_set('memory_limit', '128M'); function logMessage($message) { $logFile = '/var/log/sing-box_update.log'; $timestamp = date('Y-m-d H:i:s'); file_put_contents($logFile, "[$timestamp] $message\n", FILE_APPEND); } function writeVersionToFile($version) { $versionFile = '/etc/neko/core/version.t...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_mihomo_stable.php
luci-app-nekobox/htdocs/nekobox/update_mihomo_stable.php
<?php function logMessage($message) { $logFile = '/var/log/mihomo_update.log'; $timestamp = date('Y-m-d H:i:s'); file_put_contents($logFile, "[$timestamp] $message\n", FILE_APPEND); } function writeVersionToFile($version) { $versionFile = '/etc/neko/core/mihomo_version.txt'; $result = file_put_con...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/index.php
luci-app-nekobox/htdocs/nekobox/index.php
<?php include './cfg.php'; $needRefresh = false; $str_cfg = substr($selected_config, strlen("$neko_dir/config") + 1); $_IMG = '/luci-static/ssr/'; $singbox_bin = '/usr/bin/sing-box'; $singbox_log = '/var/log/singbox_log.txt'; $singbox_config_dir = '/etc/neko/config'; $log = '/etc/neko/tmp/log.txt'; $start_script_path...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_mihomo_preview.php
luci-app-nekobox/htdocs/nekobox/update_mihomo_preview.php
<?php ini_set('memory_limit', '256M'); function logMessage($message) { $logFile = '/tmp/mihomo_prerelease_update.log'; $timestamp = date('Y-m-d H:i:s'); file_put_contents($logFile, "[$timestamp] $message\n", FILE_APPEND); } function writeVersionToFile($version) { $versionFile = '/etc/neko/core/miho...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_singbox_stable.php
luci-app-nekobox/htdocs/nekobox/update_singbox_stable.php
<?php ini_set('memory_limit', '128M'); function logMessage($message) { $logFile = '/var/log/sing-box_update.log'; $timestamp = date('Y-m-d H:i:s'); file_put_contents($logFile, "[$timestamp] $message\n", FILE_APPEND); } function writeVersionToFile($version) { $versionFile = '/etc/neko/core/version.tx...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_zashboard.php
luci-app-nekobox/htdocs/nekobox/update_zashboard.php
<?php ini_set('memory_limit', '128M'); function getUiVersion() { $versionFile = '/etc/neko/ui/zashboard/version.txt'; return file_exists($versionFile) ? trim(file_get_contents($versionFile)) : "Version file not found"; } function writeVersionToFile($version) { file_put_contents('/etc/neko/ui/zashboard/ve...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_script.php
luci-app-nekobox/htdocs/nekobox/update_script.php
<?php $repo_owner = "Thaolga"; $repo_name = "openwrt-nekobox"; $package_name = "luci-app-nekobox"; $api_url = "https://api.github.com/repos/$repo_owner/$repo_name/releases/latest"; $local_api_response = "/tmp/api_response.json"; $curl_command = "curl -H 'User-Agent: PHP' -s " . escapeshellarg($api_url) . " -o " . esc...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_config.php
luci-app-nekobox/htdocs/nekobox/update_config.php
<?php ini_set('memory_limit', '128M'); ini_set('max_execution_time', 300); $logMessages = []; function logMessage($filename, $message) { global $logMessages; $timestamp = date('H:i:s'); $logMessages[] = "[$timestamp] $filename: $message"; } function downloadFile($url, $destination, $retries = 3, $timeout...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_singbox_preview.php
luci-app-nekobox/htdocs/nekobox/update_singbox_preview.php
<?php ini_set('memory_limit', '128M'); function logMessage($message) { $logFile = '/var/log/sing-box_update.log'; $timestamp = date('Y-m-d H:i:s'); file_put_contents($logFile, "[$timestamp] $message\n", FILE_APPEND); } function writeVersionToFile($version) { $versionFile = '/etc/neko/core/version.tx...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/subscription.php
luci-app-nekobox/htdocs/nekobox/subscription.php
<?php ob_start(); include './cfg.php'; ini_set('memory_limit', '256M'); $result = $result ?? ''; $subscription_file = '/etc/neko/tmp/singbox.txt'; $download_path = '/etc/neko/config/'; $log_file = '/var/log/neko_update.log'; $current_subscription_url = ''; if (isset($_POST['subscription_url'])) { $current_sub...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/settings.php
luci-app-nekobox/htdocs/nekobox/settings.php
<?php include './cfg.php'; function getSingboxVersion() { $singBoxPath = '/usr/bin/sing-box'; $command = "$singBoxPath version 2>&1"; exec($command, $output, $returnVar); if ($returnVar === 0) { foreach ($output as $line) { if (strpos($line, 'version') !== false) { ...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/download.php
luci-app-nekobox/htdocs/nekobox/download.php
<?php if ($_SERVER['REQUEST_METHOD'] === 'POST') { $dfOutput = []; exec('df /', $dfOutput); $availableSpace = 0; if (isset($dfOutput[1])) { $dfData = preg_split('/\s+/', $dfOutput[1]); $availableSpace = $dfData[3] * 1024; } $availableSpaceInMB = $availableSpace / 1024 / 1024; ...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/update_meta.php
luci-app-nekobox/htdocs/nekobox/update_meta.php
<?php ini_set('memory_limit', '128M'); $fixed_version = "v0.3.8"; function getUiVersion() { $versionFile = '/etc/neko/ui/meta/version.txt'; if (file_exists($versionFile)) { return trim(file_get_contents($versionFile)); } else { return null; } } function writeVersionToFile($version) ...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/netmon.php
luci-app-nekobox/htdocs/nekobox/netmon.php
<?php if (!function_exists('formatBytes')) { function formatBytes($bytes, $precision = 2) { if ($bytes <= 0) return "0 B"; $units = ['B', 'KB', 'MB', 'GB', 'TB']; $pow = floor(log($bytes, 1024)); $pow = min($pow, count($units) - 1); $bytes /= pow(1024, $pow); return r...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/save_ports.php
luci-app-nekobox/htdocs/nekobox/save_ports.php
<?php if ($_SERVER['REQUEST_METHOD'] === 'POST') { $mihomo_ports = [ 'socks-port' => (int)$_POST['mihomo_socks'], 'mixed-port' => (int)$_POST['mihomo_mixed'], 'redir-port' => (int)$_POST['mihomo_redir'], 'port' => (int)$_POST['mihomo_port'], 'tproxy-port' => (int)$_...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/mihomo_manager.php
luci-app-nekobox/htdocs/nekobox/mihomo_manager.php
<?php ob_start(); include './cfg.php'; $uploadDir = '/etc/neko/proxy_provider/'; $configDir = '/etc/neko/config/'; ini_set('memory_limit', '256M'); if (!is_dir($uploadDir)) { mkdir($uploadDir, 0755, true); } if (!is_dir($configDir)) { mkdir($configDir, 0755, true); } if ($_SERVER['REQUEST_METHOD'] === 'POST...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/monaco.php
luci-app-nekobox/htdocs/nekobox/monaco.php
<?php ini_set('memory_limit', '256M'); ob_start(); include './cfg.php'; $root_dir = "/"; $current_dir = isset($_GET['dir']) ? $_GET['dir'] : ''; $current_dir = '/' . trim($current_dir, '/') . '/'; if ($current_dir == '//') $current_dir = '/'; $current_path = $root_dir . ltrim($current_dir, '/'); if (strpos(realpath($c...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/lib/down.php
luci-app-nekobox/htdocs/nekobox/lib/down.php
<?php $stat = shell_exec("uci get neko.cfg.enabled"); if($stat==1) $tmp = shell_exec("cat /sys/class/net/Meta/statistics/rx_bytes"); else $tmp = "0"; $data = ""; if ($tmp < 1024000) $data = number_format(($tmp/1024),1)." KB"; elseif ($tmp > 1024000 && $tmp < 1024000000) $data = number_format(($tmp/1024000),1)." MB"; el...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/lib/up.php
luci-app-nekobox/htdocs/nekobox/lib/up.php
<?php $stat = shell_exec("uci get neko.cfg.enabled"); if($stat==1) $tmp = shell_exec("cat /sys/class/net/Meta/statistics/tx_bytes"); else $tmp = "0"; $data = ""; if ($tmp < 1024000) $data = number_format(($tmp/1024),1)." KB"; elseif ($tmp > 1024000 && $tmp < 1024000000) $data = number_format(($tmp/1024000),1)." MB"; el...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-app-nekobox/htdocs/nekobox/lib/log.php
luci-app-nekobox/htdocs/nekobox/lib/log.php
<?php include '../cfg.php'; $neko_log_path="$neko_dir/tmp/log.txt"; $neko_bin_log_path="$neko_dir/tmp/neko_log.txt"; $host_now=$_SERVER['SERVER_NAME']; if(isset($_GET['data'])){ $dt = $_GET['data']; if ($dt == 'neko') echo shell_exec("cat $neko_log_path"); else if($dt == 'bin') echo shell_exec("cat $neko_b...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/save_language.php
luci-theme-spectra/root/www/spectra/save_language.php
<?php header('Content-Type: application/json'); $language_file = __DIR__ . '/lib/language.txt'; if (!file_exists($language_file)) { file_put_contents($language_file, ''); } if ($_POST['action'] == 'save_language') { $language = $_POST['language']; if (!empty($language)) { file_put_contents($langu...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/save_ip_cache.php
luci-theme-spectra/root/www/spectra/save_ip_cache.php
<?php header('Content-Type: application/json'); $cacheFile = __DIR__ . '/lib/ip_cache.json'; $input = file_get_contents('php://input'); if (!$input) { echo json_encode(['status'=>'error','message'=>'No input data']); exit; } $data = json_decode($input, true); if (!$data) { echo json_encode(['status'=>'er...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/order_handler.php
luci-theme-spectra/root/www/spectra/order_handler.php
<?php $history_file = __DIR__ . '/lib/background_history.txt'; if ($_SERVER['REQUEST_METHOD'] === 'POST') { $data = json_decode(file_get_contents('php://input'), true); if (!empty($data['order']) && is_array($data['order'])) { $new_order = array_unique($data['order']); $dir = dirname($history_...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/artist_proxy.php
luci-theme-spectra/root/www/spectra/artist_proxy.php
<?php header('Content-Type: application/json'); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); header('Access-Control-Allow-Headers: Content-Type'); if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') { exit(0); } $input = json_decode(file_get_contents('php://input...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/update_php_config.php
luci-theme-spectra/root/www/spectra/update_php_config.php
<?php header("Content-Type: application/json"); if ($_SERVER['REQUEST_METHOD'] === 'POST') { $configFile = "/etc/php.ini"; $configChanges = [ 'upload_max_filesize' => '2048M', 'post_max_size' => '2048M', 'max_file_uploads' => '100', 'memory_limit' => '2048M', 'max_exec...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/check_theme_update.php
luci-theme-spectra/root/www/spectra/check_theme_update.php
<?php $repoOwner = 'Thaolga'; $repoName = 'openwrt-nekobox'; $releaseTag = '1.8.8'; $packagePattern = '/^luci-theme-spectra_(.+)_all\.ipk$/'; $latestVersion = null; $downloadUrl = null; $currentInstalledVersion = null; $needsUpdate = false; function extractMainVersion($version) { $cleanVersion = explode('~', $ve...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/manage_tokens.php
luci-theme-spectra/root/www/spectra/manage_tokens.php
<?php header('Content-Type: application/json'); $action = $_GET['action'] ?? ''; $sharesDir = __DIR__ . '/shares/'; $now = time(); $deleted = 0; if (!is_dir($sharesDir)) { echo json_encode(['success' => false, 'message' => 'Shares directory does not exist']); exit; } foreach (glob($sharesDir . '*.json') as $...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/lyrics_proxy.php
luci-theme-spectra/root/www/spectra/lyrics_proxy.php
<?php header('Content-Type: application/json'); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); header('Access-Control-Allow-Headers: Content-Type'); if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') { exit(0); } $input = json_decode(file_get_contents('php://input...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/theme-switcher.php
luci-theme-spectra/root/www/spectra/theme-switcher.php
<?php $configFileSpectra = "/etc/config/spectra"; $configFileArgon = "/etc/config/argon"; function toggleModeInFile($configFile) { if (!file_exists($configFile)) { return ["error" => "Config file not found!"]; } $content = file_get_contents($configFile); preg_match("/option mode '(\w+)'/", $...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/file-checker.php
luci-theme-spectra/root/www/spectra/file-checker.php
<?php header('Content-Type: application/json'); $file = $_GET['file'] ?? ''; if (empty($file)) { echo json_encode(['exists' => false]); exit; } if (strpos($file, '..') !== false || strpos($file, '/') !== false) { echo json_encode(['exists' => false]); exit; } $baseDir = __DIR__ . '/stream'; $filePath...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/weather_translation.php
luci-theme-spectra/root/www/spectra/weather_translation.php
<?php error_reporting(E_ALL); ini_set('display_errors', 1); header('Content-Type: application/json'); $cacheFile = __DIR__ . '/lib/weather_translation_cache.json'; // $debugFile = __DIR__ . '/weather_translation_debug.log'; function dbg($msg) { // global $debugFile; // @file_put_contents($debugFile, date('c')...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/filekit.php
luci-theme-spectra/root/www/spectra/filekit.php
<?php ini_set('memory_limit', '256M'); $timezone = trim(shell_exec("uci get system.@system[0].zonename 2>/dev/null")); date_default_timezone_set($timezone ?: 'UTC'); ob_start(); $root_dir = "/"; $current_dir = isset($_GET['dir']) ? $_GET['dir'] : ''; $current_dir = '/' . trim($current_dir, '/') . '/'; if ($current_dir...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/set_background.php
luci-theme-spectra/root/www/spectra/set_background.php
<?php $history_file = '/lib/background_history.txt'; if (isset($_POST['file'])) { $newBackground = trim($_POST['file']); if (!file_exists($history_file)) { file_put_contents($history_file, ""); chmod($history_file, 0666); } $background_history = file_exists($history_file) ? file($hist...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/edit_ip_cache.php
luci-theme-spectra/root/www/spectra/edit_ip_cache.php
<?php header('Content-Type: application/json'); $cacheFile = __DIR__ . '/lib/ip_cache.json'; if ($_SERVER['REQUEST_METHOD'] !== 'POST') { echo json_encode(['success' => false, 'message' => 'Invalid request method']); exit; } $input = file_get_contents('php://input'); if ($input === false) { echo json_enc...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/spectra.php
luci-theme-spectra/root/www/spectra/spectra.php
<?php $langFilePath = __DIR__ . '/lib/language.txt'; $defaultLang = 'en'; $langData = [ 'zh' => [ 'select_language' => '选择语言', 'simplified_chinese' => '简体中文', 'traditional_chinese' => '繁體中文', 'english' => '英文', 'korean' => '韩语', ...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/scp add_js.php
luci-theme-spectra/root/www/spectra/scp add_js.php
<?php $files = [ '/usr/lib/lua/luci/view/passwall/node_list/node_list.htm', '/usr/lib/lua/luci/view/passwall2/node_list/node_list.htm' ]; $js = <<<'EOD' <!-- Passwall Card Layout JS - Auto Inject --> <script defer src="/luci-static/spectra/js/card_layout.js"></script> <script> function saveCardOrder(group) { ...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/search_cache.php
luci-theme-spectra/root/www/spectra/search_cache.php
<?php header('Content-Type: application/json'); header('Access-Control-Allow-Origin: *'); $cacheDir = dirname(__FILE__) . '/cache/'; if (!is_dir($cacheDir)) { mkdir($cacheDir, 0755, true); } $cacheFile = $cacheDir . 'search_cache.json'; $query = $_POST['query'] ?? ($_GET['query'] ?? ''); $type = $_POST['type'] ...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/api_keys_proxy.php
luci-theme-spectra/root/www/spectra/api_keys_proxy.php
<?php header('Content-Type: application/json'); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); header('Access-Control-Allow-Headers: Content-Type'); if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') { exit(0); } $configFile = dirname(__FILE__) . '/api_keys.config...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/api_keys.config.php
luci-theme-spectra/root/www/spectra/api_keys.config.php
<?php return [ 'spotify' => [ 'client_id' => '', 'client_secret' => '', ], 'youtube' => [ 'api_key' => '', ], 'soundcloud' => [ 'client_id' => '', ], ];
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/clear_cache.php
luci-theme-spectra/root/www/spectra/clear_cache.php
<?php header('Content-Type: application/json'); header('Access-Control-Allow-Origin: *'); $cacheDir = dirname(__FILE__) . '/cache/'; $cacheFile = $cacheDir . 'search_cache.json'; $result = [ 'success' => false, 'message' => '', 'timestamp' => time() ]; if (file_exists($cacheFile)) { if (unlink($cache...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/playlist_config.php
luci-theme-spectra/root/www/spectra/playlist_config.php
<?php header('Content-Type: application/json'); $playlistFile = __DIR__ . '/lib/playlist.txt'; $defaultPlaylistUrl = 'https://raw.githubusercontent.com/Thaolga/Rules/main/music/songs.txt'; $method = $_SERVER['REQUEST_METHOD']; if ($method === 'GET') { if (file_exists($playlistFile)) { $url = file_get_co...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/index.php
luci-theme-spectra/root/www/spectra/index.php
<?php ini_set('memory_limit', '256M'); $base_dir = __DIR__; $upload_dir = $base_dir . '/stream'; $allowed_types = ['jpg', 'jpeg', 'png', 'gif', 'webp', 'mp4', 'webm', 'mkv', 'mp3', 'wav', 'flac', 'ogg']; $background_type = ''; $background_src = ''; $lang = $_POST['lang'] ?? $_GET['lang'] ?? 'en'; $lang = isset($langDat...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
true
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/install_theme.php
luci-theme-spectra/root/www/spectra/install_theme.php
<?php set_time_limit(300); ini_set('max_execution_time', 300); header('Content-Type: text/plain'); header('Cache-Control: no-cache'); header('X-Accel-Buffering: no'); if (ob_get_level()) ob_end_clean(); ob_implicit_flush(true); function executeCommand($command) { $output = []; $status = 0; exec($command ....
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/download.php
luci-theme-spectra/root/www/spectra/download.php
<?php ini_set('display_errors', 1); error_reporting(E_ALL); $token = $_GET['token'] ?? ''; if (empty($token)) { http_response_code(400); die(json_encode(['success' => false, 'message' => 'Invalid sharing link'])); } $sharesDir = __DIR__ . '/shares/'; $shareFile = $sharesDir . $token . '.json'; if (!file_exist...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/share.php
luci-theme-spectra/root/www/spectra/share.php
<?php header('Content-Type: application/json'); $data = json_decode(file_get_contents('php://input'), true); $action = $data['action'] ?? ''; if ($action === 'create') { $filename = $data['filename'] ?? ''; $expire = intval($data['expire'] ?? 86400); $maxDownloads = intval($data['max_down...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
Thaolga/openwrt-nekobox
https://github.com/Thaolga/openwrt-nekobox/blob/b05d73029a294dd0e31105d17dc9542a7272f48d/luci-theme-spectra/root/www/spectra/search_proxy.php
luci-theme-spectra/root/www/spectra/search_proxy.php
<?php $apiKeys = []; $configFile = dirname(__FILE__) . '/api_keys.config.php'; if (file_exists($configFile)) { $apiKeys = include $configFile; } else { $sampleConfig = "<?php\nreturn [\n 'spotify' => [\n 'client_id' => 'YOUR_SPOTIFY_CLIENT_ID',\n 'client_secret' => 'YOUR_SPOTIFY_CLIENT_SECRET'...
php
MIT
b05d73029a294dd0e31105d17dc9542a7272f48d
2026-01-05T04:42:29.558843Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/server.php
server.php
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ $uri = urldecode( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ); // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web server. Thi...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Department.php
app/Department.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Department extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'department'; /** * The attributes that aren't mass assignable. * * @var array */ pro...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/EmployeeSalary.php
app/EmployeeSalary.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class EmployeeSalary extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'employee_salary'; /** * The attributes that aren't mass assignable. * * @var array *...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/State.php
app/State.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class State extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'state'; /** * The attributes that aren't mass assignable. * * @var array */ protected $guard...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Division.php
app/Division.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Division extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'division'; /** * The attributes that aren't mass assignable. * * @var array */ protected $...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/User.php
app/User.php
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = ['remember_token']; ...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/City.php
app/City.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class City extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'city'; /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Employee.php
app/Employee.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Employee extends Model { /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = []; }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Country.php
app/Country.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Country extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'country'; /** * The attributes that aren't mass assignable. * * @var array */ protected $gu...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Exceptions/Handler.php
app/Exceptions/Handler.php
<?php namespace App\Exceptions; use Exception; use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that should not be reported. * * @var array */ protect...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Kernel.php
app/Http/Kernel.php
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/ProfileController.php
app/Http/Controllers/ProfileController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ProfileController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } /** * Show the user profile...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/Controller.php
app/Http/Controllers/Controller.php
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; class Controller extends BaseController { use AuthorizesReques...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/DivisionController.php
app/Http/Controllers/DivisionController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Division; class DivisionController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/EmployeeManagementController.php
app/Http/Controllers/EmployeeManagementController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Response; use App\Employee; use App\City; use App\State; use App\Country; use App\Department; use App\Division; class EmployeeManagementController extends Controller { /** * Create a new controller inst...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/ReportController.php
app/Http/Controllers/ReportController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Employee; use Excel; use Illuminate\Support\Facades\DB; use Auth; use PDF; class ReportController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() {...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/CityController.php
app/Http/Controllers/CityController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\City; use App\State; class CityController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middl...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/UserManagementController.php
app/Http/Controllers/UserManagementController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\User; class UserManagementController extends Controller { /** * Where to redirect users after registration. * * @var string */ protected $redirectTo = '/user-management'; ...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/StateController.php
app/Http/Controllers/StateController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\State; use App\Country; class StateController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->m...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/DepartmentController.php
app/Http/Controllers/DepartmentController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Department; class DepartmentController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middlewa...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/CountryController.php
app/Http/Controllers/CountryController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Country; class CountryController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('au...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/DashboardController.php
app/Http/Controllers/DashboardController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class DashboardController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } /** * Show the application d...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/Auth/LoginController.php
app/Http/Controllers/Auth/LoginController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { /* |-------------------------------------------------------------------------- | Login Controller |-----------------------------...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/Auth/ForgotPasswordController.php
app/Http/Controllers/Auth/ForgotPasswordController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; class ForgotPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |----...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/Auth/ResetPasswordController.php
app/Http/Controllers/Auth/ResetPasswordController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class ResetPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |--------------...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Controllers/Auth/RegisterController.php
app/Http/Controllers/Auth/RegisterController.php
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |-------------------------------------------------------------------------- ...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Middleware/RedirectIfAuthenticated.php
app/Http/Middleware/RedirectIfAuthenticated.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed */ ...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Middleware/TrimStrings.php
app/Http/Middleware/TrimStrings.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer; class TrimStrings extends BaseTrimmer { /** * The names of the attributes that should not be trimmed. * * @var array */ protected $except = [ 'password', 'password_co...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Middleware/EncryptCookies.php
app/Http/Middleware/EncryptCookies.php
<?php namespace App\Http\Middleware; use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter; class EncryptCookies extends BaseEncrypter { /** * The names of the cookies that should not be encrypted. * * @var array */ protected $except = [ // ]; }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Http/Middleware/VerifyCsrfToken.php
app/Http/Middleware/VerifyCsrfToken.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier; class VerifyCsrfToken extends BaseVerifier { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ // ]; }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Console/Kernel.php
app/Console/Kernel.php
<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // ]; ...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Providers/BroadcastServiceProvider.php
app/Providers/BroadcastServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Broadcast; class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Broadcast::routes();...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Providers/RouteServiceProvider.php
app/Providers/RouteServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Route; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In addition, it is set as th...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Providers/EventServiceProvider.php
app/Providers/EventServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Event; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var array */ protected...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Providers/AppServiceProvider.php
app/Providers/AppServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Schema::defaultStringLength(1...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/app/Providers/AuthServiceProvider.php
app/Providers/AuthServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array */ protected $policies ...
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false