Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Added php83-xdebug manifest #1957 #1958

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions bucket/php83-xdebug.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"version": "3.3.2-8.3",
"description": "A popular general-purpose scripting language that is especially suited to web development. (version 8.3)",
"homepage": "https://xdebug.org/",
"license": {
"identifier": "Xdebug-1.01",
"url": "https://xdebug.org/license.php"
},
"architecture": {
"64bit": {
"url": "https://xdebug.org/files/php_xdebug-3.3.2-8.3-vs16-x86_64.dll#/php_xdebug.dll",
"hash": "f3b91a98ab768f934e5bc8bb011372988417291a46d9ad4036c253619b5f0695"
}
},
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php83\\cli\\conf.d\"",
"$ini = \"zend_extension=$dir\\php_xdebug.dll`n[xdebug]`nxdebug.mode=develop,debug`nxdebug.client_port=9003`nxdebug.start_with_request=trigger # If you always want to use debug, set the value to 'yes'\"",
"if(!(test-path $phpconfd\\xdebug.ini)) {",
" Write-Output \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" Add-Content -Value $ini -Path \"$phpconfd\\xdebug.ini\"",
"} else {",
" Write-Host -f Yellow \"PHP 8.3 was not installed through scoop, you have to activate php_xdebug.dll manually! Add the following:`n\"",
" Write-Host -f Cyan \"$ini`n`n\"",
"}"
],
"notes": [
"Xdebug is already enabled if PHP 8.3 was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download/historical",
"regex": "php_xdebug-([\\d.]+-8.3)-vs16-x86_64.dll"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://xdebug.org/files/php_xdebug-$version-vs16-x86_64.dll#/php_xdebug.dll"
}
},
"hash": {
"url": "https://xdebug.org/download/historical",
"regex": "([a-fA-F0-9]{64}).+?$basename"
}
}
}