A Node.js online application to download PHP Composer packages and provide them as a ZIP file. This tool allows users to input composer.json
content and easily retrieve the required packages.
- Download PHP Composer packages online.
- Provides packages as a ZIP file.
- Real-time logging of the download process using Socket.io.
- Automatic cleanup of temporary files after download.
- Expiration for download links.
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/jobians/php-package-downloader.git cd php-package-downloader
-
Install dependencies:
npm install
-
Run the application:
npm start
For development, you can use:
npm run dev
- Open your browser and navigate to
http://localhost:3000
. - Enter the content of your
composer.json
in the provided text area. - Click the "Download Packages" button to start the download process.
- View logs for progress and download link status.
- POST /download: Accepts
composer.json
content and triggers the download process.
Contributions are welcome! Please feel free to submit a pull request or open an issue to discuss improvements.
This project is licensed under the MIT License.