PHPackages                             2amigos/resource-manager - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. 2amigos/resource-manager

AbandonedArchivedYii-extension[File &amp; Storage](/categories/file-storage)

2amigos/resource-manager
========================

Resource manager eases your project resources management.

1.0.3(10y ago)52282BSD-3-ClausePHP

Since Feb 19Pushed 10y ago3 watchersCompare

[ Source](https://github.com/2amigos/resource-manager)[ Packagist](https://packagist.org/packages/2amigos/resource-manager)[ Docs](https://github.com/2amigos/resource-manager)[ RSS](/packages/2amigos-resource-manager/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (4)Used By (0)

Resource manager extension for Yii 1
====================================

[](#resource-manager-extension-for-yii-1)

This extension allows you to manage resources. Currently supports two possible scenarios:

- Resources to save/or saved on a server's folder.
- Resources to save/or saved on an Amazon S3 bucket.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require 2amigos/resource-manager "*"
```

or add

```
"2amigos/resource-manager": "*"
```

to the require section of your `composer.json` file.

Configuring
-----------

[](#configuring)

Once the extension is installed, simply modify your application configuration as follows:

```
return array(
	'components' => array(
		'resourceManager' => 'EAmazonS3ResourceManager',
		'key' => 'YOUR-AWS-ACCESS-KEY-HERE',
		'secret' => 'YOUR-AWS-ACCESS-SECRET-HERE',
		'bucket' => 'YOUR-AWS-BUCKET-NAME-HERE',
		'region' => 'AWS-REGION-NAME-HERE',
	),
);
```

Done. Now you can use our component to save some data to the Amazon S3 storage.

Usage
-----

[](#usage)

Here's possible code of your view:

```
