rawphp/raw-base 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rawphp/raw-base

Composer 安装命令:

composer require rawphp/raw-base

包简介

RawBase provides base components for RawPHP Framework and other applications.

关键字:

README 文档

README

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License

SensioLabsInsight

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.

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

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

<?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.

Contributing

Please submit bug reports, suggestions and pull requests to the GitHub issue tracker.

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

统计信息

  • 总下载量: 1.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-09-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固