PHPackages                             cjci/res\_storage - 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. cjci/res\_storage

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

cjci/res\_storage
=================

CodeIgniter Resource management library. Store files using Encryption and handle file metadata.

1.0.0(12y ago)0991GPL3JavaScriptPHP &gt;=5.3.0

Since Nov 14Pushed 12y ago1 watchersCompare

[ Source](https://github.com/electropluma/CI_Resource_Management)[ Packagist](https://packagist.org/packages/cjci/res_storage)[ RSS](/packages/cjci-res-storage/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

CI\_Resource\_Management
========================

[](#ci_resource_management)

Resource Management Class for Codeigniter framework. It allows to store and process files w/wo encryption

---

What is CI Resource Management

---

This is a library coded to work in CodeIgniter Framework that helps in the process of management resources - files - and storing them in your filesystem with or without encryption. By default it uses rijndael-256 - commonly known as AES256 - to store files.

If your web application handles a lot of files, that you must secure in some way and want to have a common library to do all the hard work of storing and encrypting files in your application. This library is for you.

---

Installation

---

1.a (If you use composer) Execute: `composer require cjci/res_storage` and fill in your desired version (dev-master for latest changes).

1.b (Manually) Download desired version of this project to application/libraries/

2. Create your own res\_storage.php config file in application/config to configure your path and encryption key. (see Usage for more details)

---

Usage

---

*Codeigniters wrapper to loader class*

This class can be used in anywhere in your code just by its FQNS CJCI/ResStorage/ResStorage But, if you want to use `$this->load->('res_storage')` in your code, because you are familiar with CI Loader. Just create a res\_storage.php file in your application/libraries folder. Contents as follows:

```
