Hand-picked open-source string type implementations. Compare the top repositories by stars, features, and activity to find the best fit.
This project is a PHP utility library that provides an object-oriented interface for handling textual data. It serves as a framework for consistent string manipulation, offering tools to process bytes, UTF-8 code points, and grapheme clusters through a unified set of classes. The library distinguishes itself by implementing a lazy evaluation system that defers expensive string computations until the moment they are accessed, which helps optimize memory usage and application responsiveness. It also features polymorphic input normalization, which automatically detects character encoding to inst
This PHP component provides an object-oriented, UTF-8-aware string manipulation library with i18n support and lazy evaluation, though it does not focus on zero-allocation parsing or a strict type-system extension.
Strongly typed string functions
This TypeScript library provides strong typing for string manipulation and utility functions, fulfilling the need for type safety and advanced string types even though it lacks some heavier parsing and localization features.