承接 ushios/aws-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ushios/aws-bundle

Composer 安装命令:

composer require ushios/aws-bundle

包简介

Symfony AwsBundle

README 文档

README

Create aws client using 'config.yml'.

Installation

composer.json

# composer.json

"require": {
    "ushios/aws-bundle": "0.0.*",
    …
}

and run composer update command.

AppKernel.php

# app/AppKernel.php

public function registerBundles()
{
    bundles = array(
        // ...
        new Ushios\Bundle\AwsBundle\UshiosAwsBundle(),
    );
    
    retrun bundles();
}

Confguration

config.yml

# app/config/config.php

ushios_aws:
    client:
        default:
            key: ${your_aws_key}
            secret: ${your_aws_secret_key}
            region: ap-northeast-1
        named:
            class: Your\Aws\Client # default: Aws\Common\Aws
            key: ${your_named_aws_key}
            secret: ${your_named_aws_secret_key}
            region: eu-west-1

Usage

Get client from service.

Using default settings aws client.

# Bundle/Controller/Controller.php

public function fooAction()
{
    $aws = $this->container->get('ushios_aws_client');
    // or
    $aws = $this->container->get('ushios_aws_client.default');
}

Using named settings.

# Bundle/Controller/Controller.php

public function fooAction()
{
    $aws = $this->container->get('ushios_aws_client.named');
    get_class($aws); // Your\Aws\Client
}

Client

@see aws/aws-sdk-php web siite

统计信息

  • 总下载量: 195
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-10-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固