loprym/utils

为我的某些项目扩展了 nette/utils。

v1.2.0 2018-06-26 19:19 UTC

This package is not auto-updated.

Last update: 2024-09-29 04:43:14 UTC


README

Nette 中某些项目共享工具包的集合。

  • 数组:对象与数组之间的转换,设置键/值,通过多个分隔符拆分,isAsocc。
  • 字符串:剪裁左右,从第一个或最后一个出现的位置开始。
  • 路径:降低路径级别,清理路径,Windows 系统对大小写敏感,Unix 系统不敏感。
  • Neon:简单的只读 neon 文件对象,具有方法和获取器 getArray()toString()toNeon()getTimestamp()

使用

Look on tests

安装

$ composer require loprym/utils