2017 © Pedro Peláez
 

library raw-base

RawBase provides base components for RawPHP Framework and other applications.

image

rawphp/raw-base

RawBase provides base components for RawPHP Framework and other applications.

  • Tuesday, September 30, 2014
  • by rawphp
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,129 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

RawBase - Base Classes for PHP Applications

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

SensioLabsInsight, (*2)

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

Composer

RawBase is available via Composer/Packagist., (*3)

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

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

You can also simply run the following from the command line:, (*5)

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

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., (*6)

Basic Usage

<?php

use RawPHP\RawBase\Component;

class Service extends Component { }

// dump array in formatted fashion
Service::arrayDump( array( 'key' => 'value' ) );

// dump object in formatted fashion
Component::objectDump( new Service( ) );

License

This package is licensed under the MIT. Read LICENSE for information on the software availability and distribution., (*7)

Contributing

Please submit bug reports, suggestions and pull requests to the GitHub issue tracker., (*8)

Changelog

23-09-2014

  • Added missing InvalidModelException and NullValueException classes.

22-09-2014

  • Added InitializationException and NotImplementedException classes.
  • Moved exceptions into RawPHP\RawBase\Exceptions namespace.

21-09-2014

  • Tested on PHP 5.3

18-09-2014

  • Added debug ability to Component actions and filters - enable debug mode by passing debug => true to Component in init().
  • Moved RawException from RawPHP\RawBase\Exceptions to RawPHP\RawBase namespace.
  • Moved Model from RawPHP\RawBase\Models to RawPHP\RawBase namespace.

17-09-2014

  • Added a $log member variable to Component class. This can host any logging class instance.

15-09-2014

  • Added .travis.yml for CI.
  • Updated composer version alias.

13-09-2014

  • Removed init() call from Component constructor

11-09-2014

  • Initial Code Commit

The Versions

30/09 2014

dev-master

9999999-dev http://rawphp.org

RawBase provides base components for RawPHP Framework and other applications.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Tom Kaczocha

base

30/09 2014

1.0.0-RC-2

1.0.0.0-RC2 http://rawphp.org

RawBase provides base components for RawPHP Framework and other applications.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Tom Kaczocha

base

23/09 2014

1.0.0-RC-1

1.0.0.0-RC1 http://rawphp.org

RawBase provides base components for RawPHP Framework and other applications.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Tom Kaczocha

base

22/09 2014

1.0.0-RC

1.0.0.0-RC http://rawphp.org

RawBase provides base components for RawPHP Framework and other applications.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Tom Kaczocha

base