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
Requires
- php: >=5.5
- symfony/framework-bundle: ~2.6|~3.0
Requires (Dev)
- phpunit/phpunit: ~4.6
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");