PHPackages                             overlu/mini-aws - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. overlu/mini-aws

ActivePackage[Utility &amp; Helpers](/categories/utility)

overlu/mini-aws
===============

Mini Aws Package

v1.1.0(2y ago)0417MITPHPPHP ^8.0

Since Apr 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/overlu/mini-aws)[ Packagist](https://packagist.org/packages/overlu/mini-aws)[ RSS](/packages/overlu-mini-aws/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

AWS Service Provider for Mini3
------------------------------

[](#aws-service-provider-for-mini3)

基于 [AWS SDK for PHP](https://github.com/aws/aws-sdk-php) 完成的Mini扩展

### 安装

[](#安装)

use composer

```
composer require overlu/mini-aws
```

#### 注册服务

[](#注册服务)

打开 `config/app.php` 并注册Aws服务.

```
'providers' => [
    // ...
    MiniAws\AwsServiceProvider::class,
]
```

#### 配置

[](#配置)

发布配置文件

```
php bin/artisan vendor:publish  --provider="MiniAws\AwsServiceProvider"
```

这些设置可以在生成的`config/aws.php`配置文件中找到。

```
return [
    'credentials' => [
        'key'    => env('AWS_ACCESS_KEY_ID', ''),
        'secret' => env('AWS_SECRET_ACCESS_KEY', ''),
    ],
    'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
    'version' => 'latest',
    // 您可以覆盖特定服务的设置
    'Ec2' => [
        'region' => 'us-east-1',
    ],
];
```

默认情况下，`credentials`和`region`设置将从您的`.env`的文件。

```
AWS_ACCESS_KEY_ID=xxx
AWS_SECRET_ACCESS_KEY=xxx
AWS_DEFAULT_REGION=xxx

```

更多配置参考 [configuring the SDK](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html)

### 使用

[](#使用)

使用Amazon S3客户端上传文件

```
$s3 = app('aws')->createClient('s3');
$s3->putObject([
    'Bucket'     => 'YOUR_BUCKET',
    'Key'        => 'YOUR_OBJECT_KEY',
    'SourceFile' => '/the/path/to/the/file/you/are/uploading.ext',
]);
```

```
$s3 = \MiniAws\Facades\Aws::createClient('s3');
$s3->putObject([
    'Bucket'     => 'YOUR_BUCKET',
    'Key'        => 'YOUR_OBJECT_KEY',
    'SourceFile' => '/the/path/to/the/file/you/are/uploading.ext',
]);
```

```
$s3 = \MiniAws\Facades\Aws::createS3();
$s3->putObject([
    'Bucket'     => 'YOUR_BUCKET',
    'Key'        => 'YOUR_OBJECT_KEY',
    'SourceFile' => '/the/path/to/the/file/you/are/uploading.ext',
]);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

2

Last Release

761d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8fb4bb996611914fba924d0b7c1ddc93eadc34bbd0eb119422dc067f619e5e5c?d=identicon)[overlu](/maintainers/overlu)

---

Top Contributors

[![overlu](https://avatars.githubusercontent.com/u/18390489?v=4)](https://github.com/overlu "overlu (2 commits)")

---

Tags

awsswoolemini

### Embed Badge

![Health badge](/badges/overlu-mini-aws/health.svg)

```
[![Health](https://phpackages.com/badges/overlu-mini-aws/health.svg)](https://phpackages.com/packages/overlu-mini-aws)
```

###  Alternatives

[aws/aws-sdk-php-symfony

A Symfony bundle for v3 of the AWS SDK for PHP

36517.7M22](/packages/aws-aws-sdk-php-symfony)[dumpk/elastcoder

AWS Elastic Transcoder Service Integration

2819.7k](/packages/dumpk-elastcoder)[pluginscart/dynamodb-php

Access AWS DynamoDB through simpler interface in PHP.

1114.0k](/packages/pluginscart-dynamodb-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
