2025-01-27 16:52:58 +05:30
2025-01-27 16:52:58 +05:30
2025-01-27 13:16:24 +05:30
2025-01-27 14:20:21 +05:30
2025-01-27 13:16:24 +05:30
2025-01-27 13:49:59 +05:30
2025-01-27 13:16:24 +05:30
2025-01-27 13:16:24 +05:30
2024-06-24 17:53:33 +05:30
2025-01-27 13:16:24 +05:30
2024-11-25 05:49:33 +05:30
2024-11-25 05:11:07 +05:30

Web Downloads

This project handles downloading builds to the downloads.php.net server.

It supports the following type of builds:

  • PHP
  • PECL extensions
  • Winlibs libraries

It also has commands to process the downloaded files and update the relevant configuration files.

Apache configuration

  • Set up a virtual host in Apache to point to the public directory as the DocumentRoot.

  • Set up the ErrorDocument for 404 to point to public/redirect.php in the virtual host configuration.

  • Set up the following rewrite rules in the virtual host configuration:

<Directory "/path/to/public/directory">
    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{HTTP:Authorization} .
        RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^ index.php [L]
    </IfModule>
</Directory>

Code requirements

Code must function on a vanilla PHP 8.2 installation. Please keep this in mind before filing a pull request.

License

MIT

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:26:09.826Z
Readme MIT 242 KiB
Languages
PHP 100%