dotink/flourish-core

Useful debugging, error/exception handling, and normalization classes

This package's canonical repository appears to be gone and the package has been frozen as a result.

Installs: 302

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:opus-package

1.0.1 2015-04-22 06:09 UTC

This package is auto-updated.

Last update: 2024-02-29 03:17:06 UTC


README

Build Status

Flourish core provides a number of helper methods including a full UTF8 class for common string functions and a nicer exception system which allows for string interpolation as well as providing some commonly used exception types organized by "expected" (those which are intended to be handled for control structure and/or user facing errors) and "unexpected" (those which are true failures).

Exceptions

  • Exception
    • UnexpectedException
      • ConnectivityException
      • EnvironmentException
      • ProgrammerException
    • ExpectedException
      • ContinueException
      • NotFoundException
      • ValidationException
      • YieldException

UTF8

The UTF8 class provides normalization and functionality for working with UTF8 strings independent of the multibyte string extension. It contains synonyms for most of PHP's string functions.