gaufrette

How to Use Gaufrette and Symfony 3.0

假如想象 提交于 2020-01-01 06:56:41
问题 I have an issue from figuring out how to use the Symfony 3.0 with Gaufete in order to Upload into an s3 bucket. According to the documentation: https://github.com/KnpLabs/KnpGaufretteBundle I have set the config.yml: knp_gaufrette: adapters: photostorage: amazon_s3: amazon_s3_id: amazonS3 bucket_name: '%save_location%' options: directory: 'symphotest' And the services.yml: services: amazonS3: class: Aws\S3\S3Client factory_class: Aws\S3\S3Client factory_method: 'factory' arguments: key:

how to upload files to Google Cloud Storage with symfony / gauferette / VichUploaderBundle

霸气de小男生 提交于 2019-12-05 07:54:06
问题 Good morning, I am uploading my files locally through VichUploaderBundle. Every thing works perfectly. Now I want no more store my files locally: I want to store them on Google Cloud Storage . I found that KnpGaufretteBundle could be used for storing files in the cloud. So, is there any example or a example's link on how to configure Gaufrette (the php package) or KnpGaufretteBundle (the symfony bundle) for storing/uploading/reading files on google-cloud-storage ? The only thing I found is

How to Use Gaufrette and Symfony 3.0

柔情痞子 提交于 2019-12-03 21:04:39
I have an issue from figuring out how to use the Symfony 3.0 with Gaufete in order to Upload into an s3 bucket. According to the documentation: https://github.com/KnpLabs/KnpGaufretteBundle I have set the config.yml: knp_gaufrette: adapters: photostorage: amazon_s3: amazon_s3_id: amazonS3 bucket_name: '%save_location%' options: directory: 'symphotest' And the services.yml: services: amazonS3: class: Aws\S3\S3Client factory_class: Aws\S3\S3Client factory_method: 'factory' arguments: key: %amazon_s3.key% secret: %amazon_s3.secret% region: %amazon_s3.region% And because I want to use custom