partkeepr/remote-file-loader

Abstraction for loading files remotely

Installs: 4 238

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:symfony-bundle

dev-master / 1.0.x-dev 2015-09-30 13:47 UTC

This package is not auto-updated.

Last update: 2025-07-09 13:06:31 UTC


README

Abstracts remote file loading. Automatically chooses the appropriate method to load remote files.

file_get_contents might be unusable because allow_url_fopen is disabled. curl might not be available because it's not installed.

Usage

$factory = new RemoteFileLoaderFactory();

$loader = $factory->createLoader();

$data = $loader->load("http://www.google.de");