samsonphp / fs_aws
SamsonPHP aws file system service
Installs: 1 710
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- aws/aws-sdk-php: 2.*
- samsonphp/fs: 1.*
Requires (Dev)
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2024-11-09 18:11:35 UTC
README
#SamsonPHP AWS File service module
This is File service implementation for Amazon AWS S3 buckets in SamsonPHP. This is abstraction layer over standard PHP file functions.
##Configuration
This is done using SamsonPHP configuration system
In all nested php_fs_* modules which must be build on top of php_fs module all configuration are done to main SamsonPHP File service module(It's identifier is
fs
). This configuration class field values will be automatically passed to nested AbstractFileService ancestor.
All available configuration fields are:
class FSConfig extends \samson\core\Config { /**@var string Set Amazon Web Services as web-application file service using its class name */ public $fileServiceClassName = 'samsonphp\fs\AWSFileService'; /** @var string $bucket Aws bucket name */ public $bucket = '...'; /** @var string $accessKey */ public $accessKey = '...'; /** @var string $secretKey */ public $secretKey = '...'; /** @var string $bucketURL Url of amazon bucket */ public $bucketURL = '...'; /** @var string $region Region of AWS S3 service */ public $region = '...'; }