reekoheek/util 问题修复 & 功能扩展

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

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

reekoheek/util

最新稳定版本:1.3.0

Composer 安装命令:

composer require reekoheek/util

包简介

php common utility library

README 文档

README

PHP Common Utility Library

Collection

Collection is an object that wrap associative array, and work like an associative array.

Collection is json serializer aware. See, JsonKit.

Example

use ROH\Util\Collection;

// instantiate empty collection
$collection = new Collection();

// instantiate filled collection
$filledCollection = new Collection([
    'foo' => 'bar'
]);

// define attribute
$collection['subCollection'] = $filledCollection;

// get foo of sub collection attribute from parent collection attribute
echo $collection['subCollection']['foo'];

Composition

Compose array of callable / function to be called later as sequence of function call.

Inflector

Inflection library

Injector

Simple dependency injector

Options

Compose options from array, or configuration files

StringFormatter

Format string from string template

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-10-10