Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DependencyInjection
Resources/config
.gitignore
CurlLoader.php
FileGetContentsLoader.php
NoUsableRemoteFileLoaderException.php
PartKeeprRemoteFileLoaderBundle.php
README.md
RemoteFileLoaderFactory.php
RemoteFileLoaderInterface.php
composer.json

README.md

RemoteFileLoader

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");
You can’t perform that action at this time.