Skip to content
Mistralys edited this page Jan 13, 2022 · 19 revisions

Application Utils Wiki

Available pages

  • BaseException Exception class with extended functionality.
  • BoolValue Object oriented boolean values with one-way "sticky" values.
  • Classable Trait for elements that can have classes, like HTML elements.
  • ConvertHelper Converting dates, strings, transliterating and more.
  • FileHelper File system utility methods and file finder.
  • HTMLTag Object-Oriented HTML tag generator.
  • IniHelper INI file reader and editor.
  • NamedClosure Wrapper for closures with the possibility to add a description.
  • NumberInfo Access and modify numbers with or without units.
  • OperationResult Drop-in class to store the status of the result of any operation.
  • Optionable Trait for elements which allow setting options, with strong typing.
  • OutputBuffering Wrapper for output buffering with exception error handling.
  • PathsReducer Reduce a list of absolute paths to a common root.
  • Request Validate, filter and access request variables.
  • StringBuilder Easily concatenate strings, with formatting helpers, in a chainable interface.
  • StyleCollection Easily handle CSS styles for use in HTML tags and more.
  • ThrowableInfo Exception analysis tool for debugging, and persisting them to storage.
  • URLFinder Detect URLs and Email addresses in strings.
  • URLInfo An object oriented parse_url with fixes for a number of pitfalls.
  • VariableInfo Information on any PHP variable types with string conversion.

Global functions

  • parseNumber(): object oriented access to a number with or without units (CSS/HTML).
  • parseURL(): object oriented access to information on an URI string.
  • parseVariable(): object oriented access to information on any PHP variable.
  • parseThrowable(): object oriented access to information on an exception or Throwable.
  • restoreThrowable(): restore a Throwable info from a previously serialized array.

New here?

Have a look at the overview for a list of all helper classes available in the package.

Table of contents

Find the current page in the collapsible "Pages" list above, and expand the page, to view a table of contents.

Clone this wiki locally