1 2 3 4 5 6 7 8 9 10 11 12
--- Returns pre-install information for PHP --- @param ctx table Context provided by vfox --- @return table Pre-install info function PLUGIN:PreInstall(ctx) local version = ctx.version -- Download from GitHub php-src releases return { version = version, url = "https://github.com/php/php-src/archive/php-" .. version .. ".tar.gz", } end