PHPackages                             rawphp/raw-options - 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. rawphp/raw-options

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

rawphp/raw-options
==================

RawOptions is a small package that adds options to a PHP application and is used by RawPHP framework and other applications.

0170PHP

Since Sep 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rawphp/RawOptions)[ Packagist](https://packagist.org/packages/rawphp/raw-options)[ RSS](/packages/rawphp-raw-options/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

RawOptions - A Simple Session Wrapper Class for PHP Applications
================================================================

[](#rawoptions---a-simple-session-wrapper-class-for-php-applications)

[![Build Status](https://camo.githubusercontent.com/08b72bc47cf03cf421e47913e3912977ba733ac86bb12dfd4a844c488c0a767f/68747470733a2f2f7472617669732d63692e6f72672f7261777068702f5261774f7074696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rawphp/RawOptions) [![Coverage Status](https://camo.githubusercontent.com/a8f0089dea6f7cdb280752be517848f75616a61cd0e965e293e4943c64582384/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7261777068702f5261774f7074696f6e732f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/rawphp/RawOptions?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/b587cecb51191006d8c6c4ea80209bc301c4254e3d6692a43b566bf5c1d32fd1/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6f7074696f6e732f762f737461626c652e737667)](https://packagist.org/packages/rawphp/raw-options) [![Total Downloads](https://camo.githubusercontent.com/6af7767f3b6e5024ebbb122716c257788ff34b97abf3b80faa8c3f60c9376984/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6f7074696f6e732f646f776e6c6f6164732e737667)](https://packagist.org/packages/rawphp/raw-options)[![Latest Unstable Version](https://camo.githubusercontent.com/f6fa8cc43ca6c7630ba555c97efb33f5daefe5b1d9c18c5177cf857818b8bd69/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6f7074696f6e732f762f756e737461626c652e737667)](https://packagist.org/packages/rawphp/raw-options) [![License](https://camo.githubusercontent.com/64328255a5bf3a2504666c37813df3ea62bef4aefb489230f10d240dce5c58f9/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6f7074696f6e732f6c6963656e73652e737667)](https://packagist.org/packages/rawphp/raw-options)

Package Features
----------------

[](#package-features)

- Manage application options in the database through key-&gt;value pairs.
- Provides a ready-to-go database table migration and an option interface.

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

[](#installation)

### Composer

[](#composer)

RawOptions is available via [Composer/Packagist](https://packagist.org/packages/rawphp/raw-options).

Add `"rawphp/raw-options": "0.*@dev"` to the require block in your composer.json and then run `composer install`.

```
{
        "require": {
            "rawphp/raw-options": "0.*@dev"
        }
}
```

You can also simply run the following from the command line:

```
composer require rawphp/raw-options "0.*@dev"
```

### Tarball

[](#tarball)

Alternatively, just copy the contents of the RawOptions folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.

Basic Usage
-----------

[](#basic-usage)

```
