Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 1.7 KB

readme.md

File metadata and controls

61 lines (52 loc) · 1.7 KB

Usando Object Storage ou S3

Laravel, Lumen e Symfony

  • symfony-upload-s3
  • dzone-s3-lumen-master
  • Laravel-AmazonS3-Video-master
  • learningl5-2.2
  • lumens3

FileSystems.php

$ composer install aws/aws-sdk-php $ composer require league/flysystem-aws-s3-v3

AWS

's3' => [
         'driver' => 's3',
         'key' => 'AKIAQS42OR6PYFOITQFY',
         'secret' => '000000000+AeaqNLB2',
         'region' => 'us-east-1',
         'bucket' => 'storage_teste',
     ],

Locaweb Object Storage

Object Storage Locaweb

      's3' => [
         'driver' => 's3',
         'version' => 'latest',
         'endpoint' => 'https://lss.locawebcorp.com.br',
         'account' => 'Locaweb CORP Object Storage',
         'key'    => '53RBB2CGBA2EJ21GDZ7A',
         'secret' => '00000000000000000000',
         'region' => '',
         'bucket' => 'storage_teste',
         'Body'   => 'Hello, world!',
         'ACL'    => 'public-read',
      ],

Renato Lucena - 2019 - http://renatolucena.net


Follow @cpdrenato on Twitter
Artigo referente a este Assunto: http://blog.renatolucena.net/usando-object-storage-ou-s3/

AWS_KEY=0000000 AWS_SECRET=00000000+AeaqNLB2 AWS_REGION=us-east-1 AWS_BUCKET=larateste #AWS_URL=https://s3.amazonaws.com/