joolanders / flysystem-aws-s3-small
Flysystem adapter for S3 without using the full AWS SDK
1.0.0
2018-11-27 16:22 UTC
Requires
- php: >=5.5.0
- akeeba/s3: dev-master
- league/flysystem: ^1.0.40
Requires (Dev)
- henrikbjorn/phpspec-code-coverage: ~1.0.1
- phpspec/phpspec: ^2.0.0
This package is not auto-updated.
Last update: 2024-11-07 20:49:56 UTC
README
This is a Flysystem adapter for s3 without the need for the huge AWS PHP SDK
Installation
composer require joolanders/flysystem-aws-s3-small
Bootstrap
<?php include __DIR__ . '/vendor/autoload.php'; $configuration = new \Akeeba\Engine\Postproc\Connector\S3v4\Configuration( 'your-key', 'your-secret', 'V2|V4', // optional 'your-region' // optional ); $connector = new \Akeeba\Engine\Postproc\Connector\S3v4\Connector($configuration); $adapter = new \Joolanders\Flysystem\S3Small\S3SmallAdapter($connector, 'your-bucket'); $filesystem = new \League\Flysystem\Filesystem($adapter);