https://github.com/exfriend/download
Bulletproof downloader for PHP. Tries cURL, streams and sockets
https://github.com/exfriend/download
curl download php sockets wordpress
Last synced: 2 months ago
JSON representation
Bulletproof downloader for PHP. Tries cURL, streams and sockets
- Host: GitHub
- URL: https://github.com/exfriend/download
- Owner: exfriend
- Created: 2019-04-05T13:17:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-26T21:49:53.000Z (over 6 years ago)
- Last Synced: 2025-10-22T10:55:44.301Z (8 months ago)
- Topics: curl, download, php, sockets, wordpress
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
This helper was originally created for using from within a plugin on some
old WordPress installations running in different environments.
It does it's best to fetch the content using php-curl, file_get_contents and pure sockets.
Supports HTTPS. Enjoy!
## Installation
```bash
composer require exfriend/download @dev
```
## Usage
```php
$html = download( 'https://example.com' );
```
## Credits
[Serpentine.io](https://serpentine.io)