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: 3 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 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-26T21:49:53.000Z (over 5 years ago)
- Last Synced: 2025-02-12T05:25:44.159Z (4 months ago)
- Topics: curl, download, php, sockets, wordpress
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- 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)