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
Requires
- php: >=5.4.0
- imarc/opus: ^1.0.0
This package is auto-updated.
Last update: 2024-02-29 03:17:06 UTC
README
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
- UnexpectedException
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.