harga pada beranda terhubung ke manage plans di dashboard admin
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m27s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 31s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
triagungbiantoro
2026-04-25 21:57:25 +07:00
parent f25542ea0d
commit 417b7b7453
21707 changed files with 179493 additions and 328 deletions

0
vendor/psy/psysh/LICENSE vendored Normal file → Executable file
View File

0
vendor/psy/psysh/README.md vendored Normal file → Executable file
View File

159
vendor/psy/psysh/bin/fetch-manual vendored Executable file
View File

@@ -0,0 +1,159 @@
#!/usr/bin/env php
<?php
/*
* This file is part of Psy Shell.
*
* (c) 2012-2025 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
// Fetch the latest manual from GitHub releases for bundling in PHAR builds
const RELEASES_URL = 'https://api.github.com/repos/bobthecow/psysh-manual/releases';
function fetchLatestManual(): bool {
echo "Fetching latest manual release info...\n";
$context = stream_context_create([
'http' => [
'user_agent' => 'PsySH Manual Fetcher',
'timeout' => 10.0,
],
]);
$result = @file_get_contents(RELEASES_URL, false, $context);
if (!$result) {
echo "Failed to fetch releases from GitHub\n";
return false;
}
$releases = json_decode($result, true);
if (!$releases || !is_array($releases)) {
echo "Invalid response from GitHub releases API\n";
return false;
}
// Find the first release with a manifest
foreach ($releases as $release) {
$manifest = fetchManifest($release, $context);
if ($manifest === null) {
continue;
}
// Find English PHP format manual in the manifest
foreach ($manifest['manuals'] as $manual) {
if ($manual['lang'] === 'en' && $manual['format'] === 'php') {
echo "Found manual v{$manual['version']} (en, php format)\n";
// Find the download URL for the manual
$filename = sprintf('psysh-manual-v%s-en.tar.gz', $manual['version']);
$downloadUrl = null;
foreach ($release['assets'] as $asset) {
if ($asset['name'] === $filename) {
$downloadUrl = $asset['browser_download_url'];
break;
}
}
if ($downloadUrl === null) {
echo "Could not find download URL for $filename\n";
return false;
}
// Download and extract the manual
return downloadAndExtractManual($downloadUrl, $filename, $context);
}
}
}
echo "No English PHP manual found in releases\n";
return false;
}
function fetchManifest(array $release, $context): ?array {
foreach ($release['assets'] as $asset) {
if ($asset['name'] === 'manifest.json') {
$manifestContent = @file_get_contents($asset['browser_download_url'], false, $context);
if ($manifestContent) {
return json_decode($manifestContent, true);
}
}
}
return null;
}
function downloadAndExtractManual(string $downloadUrl, string $filename, $context): bool {
echo "Downloading $filename...\n";
$tempFile = sys_get_temp_dir() . '/' . $filename;
$content = @file_get_contents($downloadUrl, false, $context);
if (!$content) {
echo "Failed to download manual\n";
return false;
}
if (!file_put_contents($tempFile, $content)) {
echo "Failed to save manual to $tempFile\n";
return false;
}
echo "Extracting manual...\n";
// Create temp directory for extraction
$tempDir = sys_get_temp_dir() . '/psysh-manual-' . uniqid();
if (!mkdir($tempDir)) {
echo "Failed to create temp directory\n";
unlink($tempFile);
return false;
}
try {
// Extract using PharData
$phar = new PharData($tempFile);
$phar->extractTo($tempDir);
// Find the php_manual.php file
$extractedFile = $tempDir . '/php_manual.php';
if (!file_exists($extractedFile)) {
echo "php_manual.php not found in extracted archive\n";
return false;
}
// Copy to current directory
if (!copy($extractedFile, 'php_manual.php')) {
echo "Failed to copy manual to current directory\n";
return false;
}
echo "Successfully fetched manual to php_manual.php\n";
return true;
} catch (Exception $e) {
echo "Failed to extract manual: " . $e->getMessage() . "\n";
return false;
} finally {
// Clean up
@unlink($tempFile);
removeDirectory($tempDir);
}
}
function removeDirectory(string $dir) {
if (!is_dir($dir)) {
return;
}
$files = array_diff(scandir($dir), ['.', '..']);
foreach ($files as $file) {
$path = $dir . '/' . $file;
is_dir($path) ? removeDirectory($path) : unlink($path);
}
rmdir($dir);
}
// Main execution
exit(fetchLatestManual() ? 0 : 1);

37
vendor/psy/psysh/build/composer.json vendored Executable file
View File

@@ -0,0 +1,37 @@
{
"name": "psy/psysh-build",
"description": "Build configuration for PsySH phar distribution.",
"type": "project",
"license": "MIT",
"require": {
"php": "^8.0 || ^7.4",
"ext-json": "*",
"ext-tokenizer": "*",
"composer/class-map-generator": "^1.0",
"nikic/php-parser": "^5.0 || ^4.0",
"symfony/console": "^8.0 || ^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4",
"symfony/polyfill-iconv": "^1.0",
"symfony/polyfill-mbstring": "^1.0",
"symfony/var-dumper": "^8.0 || ^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4"
},
"require-dev": {
"roave/security-advisories": "dev-latest"
},
"autoload": {
"files": ["src/functions.php"],
"psr-4": {
"Psy\\": "src/"
}
},
"bin": ["bin/psysh"],
"config": {
"platform": {
"php": "7.4.99"
},
"preferred-install": "dist",
"sort-packages": true
},
"conflict": {
"symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4"
}
}

0
vendor/psy/psysh/composer.json vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Clipboard/ClipboardMethod.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Clipboard/CommandClipboardMethod.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Clipboard/NullClipboardMethod.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Clipboard/Osc52ClipboardMethod.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeAnalysis/BufferAnalysis.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeAnalysis/BufferAnalyzer.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/AbstractClassPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/AssignThisVariablePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/CallTimePassByReferencePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/CalledClassPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/CodeCleanerPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/EmptyArrayDimFetchPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/ExitPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/FinalClassPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/FunctionContextPass.php vendored Normal file → Executable file
View File

View File

0
vendor/psy/psysh/src/CodeCleaner/ImplicitReturnPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/ImplicitUsePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/IssetPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/LabelContextPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/LeavePsyshAlonePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/ListPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/LoopContextPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/MagicConstantsPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/NamespaceAwarePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/NamespacePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/NoReturnValue.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/PassableByReferencePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/RequirePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/ReturnTypePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/StrictTypesPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/UseStatementPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/ValidClassNamePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/ValidConstructorPass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleaner/ValidFunctionNamePass.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CodeCleanerAware.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/BufferCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ClearCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/CodeArgumentParser.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/Command.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/Config/AbstractConfigCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/Config/ConfigGetCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/Config/ConfigListCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/Config/ConfigSetCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ConfigCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/CopyCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/DocCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/DumpCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/EditCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ExitCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/HelpCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/HistoryCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ListCommand.php vendored Normal file → Executable file
View File

View File

0
vendor/psy/psysh/src/Command/ListCommand/ClassEnumerator.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ListCommand/ConstantEnumerator.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ListCommand/Enumerator.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ListCommand/FunctionEnumerator.php vendored Normal file → Executable file
View File

View File

0
vendor/psy/psysh/src/Command/ListCommand/MethodEnumerator.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ListCommand/PropertyEnumerator.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ListCommand/VariableEnumerator.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ParseCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/PsyVersionCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ReflectingCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ShowCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/SudoCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/ThrowUpCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/TimeitCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/TimeitCommand/TimeitVisitor.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/TraceCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/WhereamiCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/WtfCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Command/YoloCommand.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CommandArgumentCompletionAware.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CommandAware.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/CommandMapTrait.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/AnalysisResult.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/CompletionEngine.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/CompletionKind.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/CompletionRequest.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/ContextAnalyzer.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/DeepestNodeVisitor.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/FuzzyMatcher.php vendored Normal file → Executable file
View File

View File

0
vendor/psy/psysh/src/Completion/Refiner/CommandContextRefiner.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/Refiner/CommandSyntaxRefiner.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/Refiner/PartialInputRefiner.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/Source/CatalogSource.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/Source/ClassConstantSource.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/Source/CommandArgumentSource.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/Source/CommandOptionSource.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/Source/CommandSource.php vendored Normal file → Executable file
View File

0
vendor/psy/psysh/src/Completion/Source/HistorySource.php vendored Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More