platinumpixs/aws-symfony2-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

platinumpixs/aws-symfony2-bundle

最新稳定版本:1.3.0

Composer 安装命令:

composer require platinumpixs/aws-symfony2-bundle

包简介

A simple Symfony 2 bundle for including the AWS SDK for PHP.

README 文档

README

This Package Is No Longer Being Updated - Please See the One Provided By Amazon AWS Directly

https://github.com/aws/aws-sdk-php-symfony

AWS SDK 2 - Symfony 2 Bundle

Build StatusLatest Stable Version Total Downloads Latest Unstable Version License

Provides a simple Symfony 2 Bundle to Wrap the AWS PHP SDK 2 - https://github.com/aws/aws-sdk-php

Installing via Composer

This will install Version 3 of the SDK.

{
    "require": {
        "platinumpixs/aws-symfony2-bundle": "dev-master"
    }
}

If you want to stay on older Version 2 of the SDK.

{
    "require": {
        "platinumpixs/aws-symfony2-bundle": "1.2.0"
    }
}

Using and Setting Up

autoload.php

$loader->registerNamespaces(
  'PlatinumPixs'                  => __DIR__ . '/../vendor/platinumpixs'
)

Kernel.php

public function registerBundles() {
  $bundles = array(
    new PlatinumPixs\Aws\PlatinumPixsAwsBundle()
  );
}

The code calls \Aws\Common\Aws::factory(), which setups the ability to call all the services provided by the library

There is a base class always setup under:

$this->get('platinum_pixs_aws.default');

This will call the factory method with blank config values

To provide custom setup for access, secret keys. Add a config options in your config.yml, like:

platinum_pixs_aws:
    base:
        region: us-east-1
        key: my-access-key
        secret: my-secret-key

Then to access this setup call:

$this->get('platinum_pixs_aws.base');

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2013-04-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固