Popularity
1.2
Growing
Activity
0.0
Stable
22
4
2

Code Quality Rank: L4
Monthly Downloads: 89
Programming language: PHP
License: MIT License
Tags: Third Party APIs     Stream     S3     Aws     Stream Wrapper    
Latest version: v0.3.2

S3 Stream Wrapper alternatives and similar libraries

Based on the "Third Party APIs" category

Do you think we are missing an alternative of S3 Stream Wrapper or a related project?

Add another 'Third Party APIs' Library

README

S3StreamWrapper

A simple stream wrapper for Amazon S3.

Example

<?php

use S3StreamWrapper\S3StreamWrapper;

S3StreamWrapper::register();

$options = array(
    'credentials' => [
        'key' => "YOUR AWS KEY HERE",
        'secret' => "YOUR AWS SECRET HERE"
    ],
    'region' => 'us-east-1',
    'version' => '2006-03-01'
);

stream_context_set_default(array('s3' => $options));

echo file_get_contents("s3://mybucket/file1");

echo file_put_contents("s3://mybucket/file2", "Foobar!");

print_r(scandir("s3://mybucket/"));

License

MIT, See LICENSE


*Note that all licence references and agreements mentioned in the S3 Stream Wrapper README section above are relevant to that project's source code only.