loprym/utils

Extensions of nette/utils for some of my projects.

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

This package is not auto-updated.

Last update: 2024-04-28 02:43:02 UTC


README

Pack of shared utilities for some of my projects in Nette.

  • Arrays: object to array and back conversion, key/value is set, explode by multiple delimiters, isAsocc.
  • Strings: Cut left/rigt, from first or last occurence of needle.
  • Path: Decrease level of path, clean path, case sensitive exist for win or insesitive for unix.
  • Neon: Simple readonly object of neon file with methods and getters getArray(), toString(), toNeon(), and getTimestamp().

Using

Look on tests

Installation

$ composer require loprym/utils