Download the PHP package wbadrh/git-dl without Composer
On this page you can find all versions of the php package wbadrh/git-dl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wbadrh/git-dl
More information about wbadrh/git-dl
Files in wbadrh/git-dl
Download wbadrh/git-dl
More information about wbadrh/git-dl
Files in wbadrh/git-dl
Vendor wbadrh
Package git-dl
Short Description Clone a Github repository with PHP & ZipArchive. Without using Git or exec()!
License MIT
Homepage https://github.com/drhino/git-dl
Package git-dl
Short Description Clone a Github repository with PHP & ZipArchive. Without using Git or exec()!
License MIT
Homepage https://github.com/drhino/git-dl
Please rate this library. Is it a good library?
Informations about the package git-dl
Download a Github repository with PHP.
Install with composer:
Example usage:
How does it work?
The zip-archive is downloaded from Github. Then unpacked with ZipArchive.
From version 1.1.x and above; A stream is used to keep a low memory footprint.
After a succesful unpack, the downloaded archive is removed.
Cloning an existing repository updates to the latest version.
Changelog:
v1.1.0
- Uses a stream for writing.
- The PHP cURL extension is no longer used.
- Supports both Flysystem 1 and 3 (PHP 7 and 8).
- Returns the directory path on success.
- Throws Exception.
v1.0.2
- Fixes CVE-2021-32708.
v1.0.1
- Adds documentation.
v1.0.0
- Initial release.
All versions of git-dl with dependencies
PHP Build Version
Package Version
The package wbadrh/git-dl contains the following files
Loading the files please wait ....