Useful PHP utilities and helpers.

1.6.0 2019-11-12 14:48 UTC


Build Status Coverage Status PHPStan

Set of useful PHP utilities and helpers extending nette/utils.


Via Composer

composer require wavevision/utils


The package contains useful classes for:

  • Arrays – array helpers (manipulate, sort, extract etc.)
  • Finder – adds sorting to nette/finder
  • Json – JSON pretty encoder with PHP and JavaScript indents
  • Objects – dynamic get / set accessors
  • Path – join path parts
  • Server – access some useful server info (e.g. file upload limit)
  • Strings – string helpers (encode, transform etc.)
  • Tokenizer – get structure from file (e.g. a class)
  • Validators – validate Czech and Slovak numbers (phone, personal, business)