Package Data | |
---|---|
Maintainer Username: | aftabnaveed |
Maintainer Contact: | aftabnaveed@gmail.com (Aftab Naveed) |
Package Create Date: | 2017-02-23 |
Package Last Update: | 2017-02-23 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-12 15:04:00 |
Package Statistics | |
---|---|
Total Downloads: | 21 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Narwal Twistor Flysystem HTTP adapter is to add laraval and lumen support for the adapter.
composer require narwahl/twistor-flysystem-http
Add this to your bootstrap/app.php
$app->register(Narwhal\Twistor\Flysystem\TwistorFlysystemHttpProvider::class);
Options and context can be added inside config/filesystem.php
'http' => [
'driver' => 'http',
'baseurl' => 'https://example.com/',
'supportsHead' => false,
'context' => [
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
],
]
]
To download a file just use this Lumen provider
$content = Storage::disk('http')->get('test.csv');
coming....