PHPackages                             rawphp/raw-base - 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. [Framework](/categories/framework)
4. /
5. rawphp/raw-base

ActiveLibrary[Framework](/categories/framework)

rawphp/raw-base
===============

RawBase provides base components for RawPHP Framework and other applications.

1.0.0-RC-2(11y ago)01.2k1MITPHPPHP &gt;=5.3.0

Since Sep 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rawphp/RawBase)[ Packagist](https://packagist.org/packages/rawphp/raw-base)[ Docs](http://rawphp.org)[ RSS](/packages/rawphp-raw-base/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (1)

RawBase - Base Classes for PHP Applications
===========================================

[](#rawbase---base-classes-for-php-applications)

[![Build Status](https://camo.githubusercontent.com/892d71c4f3a4508b8af1e6b26232a1d6031e52ba8238254b8f197ba990bf980a/68747470733a2f2f7472617669732d63692e6f72672f7261777068702f526177426173652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rawphp/RawBase) [![Coverage Status](https://camo.githubusercontent.com/7328f89d28d7c069d0679d86e7be465c559f506b6dc423a00d9e67aa27570b0b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7261777068702f526177426173652f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/rawphp/RawBase?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/716da20b5a85460aa4cf9a92f9bd5637855e6a0a87ff03c83637a87565da91b6/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d626173652f762f737461626c652e737667)](https://packagist.org/packages/rawphp/raw-base) [![Total Downloads](https://camo.githubusercontent.com/819118e2785a70420222305f06d670914d377244aada7daa38ce35028dd54d9b/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d626173652f646f776e6c6f6164732e737667)](https://packagist.org/packages/rawphp/raw-base)[![Latest Unstable Version](https://camo.githubusercontent.com/9cd28780c49f7a82af5d3847d685cd974e11a52d14b83fcac04104061bb9beb0/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d626173652f762f756e737461626c652e737667)](https://packagist.org/packages/rawphp/raw-base) [![License](https://camo.githubusercontent.com/7842e6e6a32af3736345e9e705a7acc0ae19b25e9890a7b5a17316098f956cda/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d626173652f6c6963656e73652e737667)](https://packagist.org/packages/rawphp/raw-base)

[![SensioLabsInsight](https://camo.githubusercontent.com/8c0fae7aeeb548cbeba59c7cee92a3b0550846f8c71a8760b174234f33eb9bef/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f66646334366239302d656634372d346662352d613261362d6334386135393966346430632f6269672e706e67)](https://insight.sensiolabs.com/projects/fdc46b90-ef47-4fb5-a2a6-c48a599f4d0c)

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

[](#package-features)

- The Component class offers a hook system that can be implemented by all subclasses.
- Static utility methods to dump arrays and objects for debugging
- Base Model class for other application models

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

[](#installation)

### Composer

[](#composer)

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

Add `"rawphp/raw-base": "1.0.0-RC-2"` to the require block in your composer.json and then run `composer install`.

```
{
        "require": {
            "rawphp/raw-base": "1.0.0-RC-2"
        }
}
```

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

```
composer require rawphp/raw-base "1.0.0-RC-2"
```

### Tarball

[](#tarball)

Alternatively, just copy the contents of the RawBase 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)

```
